mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 02:10:35 +08:00
sdlog2: Remove an unreachable comparison
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user