diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-30 18:28:23 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-30 18:28:23 -0400 |
commit | 1a61f70b5daed5996fff4738ce41101af943003b (patch) | |
tree | 0ae61294117d507a76244909cfd5bef913c5b3b2 /gpsutils.c | |
parent | 02ecef02e70fec0d07accea5e8a051d3d5e53469 (diff) | |
download | gpsd-1a61f70b5daed5996fff4738ce41101af943003b.tar.gz |
Write scan-build suppressions to it runs clean.
Promote scan-build to be onere of the stock pre-release checks.
Fix one minor cppcheck nit.
Diffstat (limited to 'gpsutils.c')
-rw-r--r-- | gpsutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -333,6 +333,7 @@ time_t mkgmtime(register struct tm * t) timestamp_t iso8601_to_unix(char *isotime) /* ISO8601 UTC to Unix UTC, no leapsecond correction. */ { +#ifndef __clang_analyzer__ #ifndef USE_QT char *dp = NULL; double usec; @@ -362,6 +363,7 @@ timestamp_t iso8601_to_unix(char *isotime) usec = sl[1].toInt() / pow(10., (double)sl[1].size()); return (timestamp_t)(d.toTime_t() + usec); #endif +#endif /* __clang_analyzer__ */ } /* *INDENT-OFF* */ |