diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-11 18:11:45 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-11 18:12:24 -0500 |
commit | 1b6b651d327efc7210a82ea6d7b48af7acb26c0d (patch) | |
tree | 3da4e7baa0d3bdd91a79566edf32290cf7448d7c /libgps_shm.c | |
parent | 607fee7e4f751d6ac6a33af17c546e8095aa902f (diff) | |
download | gpsd-1b6b651d327efc7210a82ea6d7b48af7acb26c0d.tar.gz |
BSD compiler waening and splint cleanup.
Diffstat (limited to 'libgps_shm.c')
-rw-r--r-- | libgps_shm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgps_shm.c b/libgps_shm.c index 5d37f628..e8dd30f4 100644 --- a/libgps_shm.c +++ b/libgps_shm.c @@ -41,7 +41,9 @@ struct privdata_t int gps_shm_open(/*@out@*/struct gps_data_t *gpsdata) /* open a shared-memory connection to the daemon */ { + /*@-nullpass@*/ int shmid = getenv("GPSD_SHM_KEY") ? atoi(getenv("GPSD_SHM_KEY")) : GPSD_KEY; + /*@+nullpass@*/ libgps_debug_trace((DEBUG_CALLS, "gps_shm_open()\n")); |