diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-28 18:53:11 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-28 18:53:11 -0400 |
commit | c651976d406e14ee43b48357c86b7b78d6e94821 (patch) | |
tree | 308816b29c9992ff89938013a6226bf9deb49c4f /libgps_core.c | |
parent | 2807b4d18ae2a229c45e54f8423015c1ef8c371d (diff) | |
download | gpsd-c651976d406e14ee43b48357c86b7b78d6e94821.tar.gz |
Scan-build and splint cleanup. All regression tests pass.
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgps_core.c b/libgps_core.c index b1f33bd1..e4866eea 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -110,6 +110,7 @@ int gps_read(struct gps_data_t *gpsdata) libgps_debug_trace((DEBUG_CALLS, "gps_read()\n")); + /*@ -usedef -compdef -uniondef @*/ #ifdef SHM_EXPORT_ENABLE if ((intptr_t)(gpsdata->gps_fd) == -1) { status = gps_shm_read(gpsdata); @@ -121,6 +122,7 @@ int gps_read(struct gps_data_t *gpsdata) status = gps_sock_read(gpsdata); } #endif /* SOCKET_EXPORT_ENABLE */ + /*@ +usedef +compdef +uniondef @*/ return status; } |