Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
narasaka committed Sep 20, 2023
1 parent f5825c8 commit f985b99
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
4 changes: 1 addition & 3 deletions go/go.work
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
go 1.21

toolchain go1.21.0
go 1.18

use (
./cli/mcap
Expand Down
4 changes: 0 additions & 4 deletions go/ros/bag2mcap.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ func processBag(
}
}

if err != nil {
return err
}

switch opcode[0] {
case OpBagHeader:
continue
Expand Down
4 changes: 0 additions & 4 deletions go/ros/ros2db3_to_mcap.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,6 @@ func DB3ToMCAP(w io.Writer,
if err != nil {
return fmt.Errorf("failed to write channel info: %w", err)
}

if err != nil {
return fmt.Errorf("failed to increment progress bar: %w", err)
}
}
seq := make(map[uint16]uint32)
err = transformMessages(db, func(rows *sql.Rows) error {
Expand Down
3 changes: 0 additions & 3 deletions testdata/db3/chatter.mcap

This file was deleted.

0 comments on commit f985b99

Please sign in to comment.