Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp/dist/ntpd CID 1269537: Unreachable code
details: https://anonhg.NetBSD.org/src/rev/c212687540aa
branches: trunk
changeset: 337389:c212687540aa
user: christos <christos%NetBSD.org@localhost>
date: Mon Apr 13 17:45:19 2015 +0000
description:
CID 1269537: Unreachable code
diffstat:
external/bsd/ntp/dist/ntpd/refclock_shm.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 4196aed2f265 -r c212687540aa external/bsd/ntp/dist/ntpd/refclock_shm.c
--- a/external/bsd/ntp/dist/ntpd/refclock_shm.c Mon Apr 13 17:44:23 2015 +0000
+++ b/external/bsd/ntp/dist/ntpd/refclock_shm.c Mon Apr 13 17:45:19 2015 +0000
@@ -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 @@
return NULL;
}
+ return p;
#endif
-
- return p;
}
/*
* shm_start - attach to shared memory
Home |
Main Index |
Thread Index |
Old Index