forked from Archive/PX4-Autopilot
sdlog2: Remove an unreachable comparison
This commit is contained in:
parent
c04064fd6a
commit
c9162f428a
|
@ -684,7 +684,7 @@ int sdlog2_thread_main(int argc, char *argv[])
|
|||
case 'r': {
|
||||
unsigned long r = strtoul(optarg, NULL, 10);
|
||||
|
||||
if (r <= 0) {
|
||||
if (r == 0) {
|
||||
r = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue