]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
lint
authorHarlan Stenn <stenn@ntp.org>
Mon, 28 Jul 2003 01:04:14 +0000 (21:04 -0400)
committerHarlan Stenn <stenn@ntp.org>
Mon, 28 Jul 2003 01:04:14 +0000 (21:04 -0400)
bk: 3f24768eIbtclVUj35ZYlk17_KHXOA

ntpd/refclock_shm.c

index cc3d1d96074702604d2c8eac93220759480ed79a..2f1472db3ae78c089427ec074993316bdbc67419 100644 (file)
@@ -149,7 +149,6 @@ struct shmTime *getShmTime (int unit) {
                return p;
        }
 #endif
-       return 0;
 }
 /*
  * shm_start - attach to shared memory
@@ -201,7 +200,8 @@ shm_shutdown(
        pp = peer->procptr;
        up = (struct shmTime *)pp->unitptr;
 #ifndef SYS_WINNT
-       shmdt (up);
+       /* HMS: shmdt()wants char* or const void * */
+       (void) shmdt (up);
 #else
        UnmapViewOfFile (up);
 #endif