summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2017-09-06 19:00:04 -0400
committerEric S. Raymond <esr@thyrsus.com>2017-09-06 19:00:04 -0400
commit9c7e8629876fb3ff115902e37fe562641ce9de11 (patch)
tree08ca2e4206ccc0dbda2ee946d907763ae9166aab /ppsthread.c
parentdb56959e1cf2670edb02f27f25580bb4272e9df2 (diff)
downloadgpsd-9c7e8629876fb3ff115902e37fe562641ce9de11.tar.gz
Clean up C and Python code-checker warnings.
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppsthread.c b/ppsthread.c
index cd6c883c..6819c6f1 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -1031,6 +1031,7 @@ static void *gpsd_ppsmonitor(void *arg)
* pulse shorter than 500 milliSec + 10%
* looks like 1.0 Hz square wave, ignore trailing edge
* except we can't tell which is which, so we guess */
+ // cppcheck-suppress knownConditionTrueFalse
if (edge == 1) {
ok = true;
log = "square\n";