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 /gpsmon.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 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1317,7 +1317,10 @@ int main(int argc, char **argv) } FD_ZERO(&all_fds); +#ifndef __clang_analyzer__ FD_SET(0, &all_fds); /* accept keystroke inputs */ +#endif /* __clang_analyzer__ */ + FD_SET(session.gpsdata.gps_fd, &all_fds); if (session.gpsdata.gps_fd > maxfd) |