Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Fixed warn of --max-splits without --split#1237

Merged
dirk-thomas merged 1 commit intoros:lunar-develfrom
v-do:fix-warn-max-splits
Nov 16, 2017
Merged

Fixed warn of --max-splits without --split#1237
dirk-thomas merged 1 commit intoros:lunar-develfrom
v-do:fix-warn-max-splits

Conversation

@v-do
Copy link
Copy Markdown
Contributor

@v-do v-do commented Nov 16, 2017

rosbag record always gives this warning even without specifying --max-splits:

[ WARN] [1510806945.020499157]: --max-splits is ignored without --split

The --max-splits option has a default value causing the program to always think that --max-splits is specified. This fix removes the default command-line option value but still properly initialises the value to 0.

@dirk-thomas
Copy link
Copy Markdown
Member

dirk-thomas commented Nov 16, 2017

@v-do Thank you for the fix.

@contradict FYI introduced in #866.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants