diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-13 10:53:54 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-13 10:53:54 +0200 |
commit | c9162f428ae9e355cf3ad800070e0977a78c35c6 (patch) | |
tree | a5035e605148ac2242ee5e7ead9bca898e2282ee /src/modules | |
parent | c04064fd6a40bc8ac9f396d4d0ba565b26eda6db (diff) | |
download | px4-firmware-c9162f428ae9e355cf3ad800070e0977a78c35c6.tar.gz px4-firmware-c9162f428ae9e355cf3ad800070e0977a78c35c6.tar.bz2 px4-firmware-c9162f428ae9e355cf3ad800070e0977a78c35c6.zip |
sdlog2: Remove an unreachable comparison
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index d680833f8..39f433eb5 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -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; } |