diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 20:38:37 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 20:38:37 -0500 |
commit | 56e719970de0fcbbc6c086159f31f82b5eb35128 (patch) | |
tree | eec477c566d221cb1823935155231f38036e778c /ppsthread.c | |
parent | f1e30c3197910f319cf2d624666be87a0580b82a (diff) | |
download | gpsd-56e719970de0fcbbc6c086159f31f82b5eb35128.tar.gz |
Code is fully cppcheck, splint, and Coverity clean.
All regression tests pass. PPS is live.
Diffstat (limited to 'ppsthread.c')
-rw-r--r-- | ppsthread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ppsthread.c b/ppsthread.c index 1b771992..299e61a5 100644 --- a/ppsthread.c +++ b/ppsthread.c @@ -216,6 +216,7 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg) while (session->thread_report_hook != NULL || session->context->pps_hook != NULL) { bool ok = false; #if defined(HAVE_SYS_TIMEPPS_H) + // cppcheck-suppress variableScope bool ok_kpps = false; #endif /* HAVE_SYS_TIMEPPS_H */ char *log = NULL; |