Module Name: src
Committed By: christos
Date: Mon Apr 13 17:45:19 UTC 2015
Modified Files:
src/external/bsd/ntp/dist/ntpd: refclock_shm.c
Log Message:
CID 1269537: Unreachable code
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/ntp/dist/ntpd/refclock_shm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/ntp/dist/ntpd/refclock_shm.c
diff -u src/external/bsd/ntp/dist/ntpd/refclock_shm.c:1.4 src/external/bsd/ntp/dist/ntpd/refclock_shm.c:1.5
--- src/external/bsd/ntp/dist/ntpd/refclock_shm.c:1.4 Tue Apr 7 13:34:19 2015
+++ src/external/bsd/ntp/dist/ntpd/refclock_shm.c Mon Apr 13 13:45:19 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: refclock_shm.c,v 1.4 2015/04/07 17:34:19 christos Exp $ */
+/* $NetBSD: refclock_shm.c,v 1.5 2015/04/13 17:45:19 christos Exp $ */
/*
* refclock_shm - clock driver for utc via shared memory
@@ -197,9 +197,8 @@ getShmTime(
return NULL;
}
-#endif
-
return p;
+#endif
}
/*
* shm_start - attach to shared memory