summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-15 21:33:35 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-15 21:33:35 -0500
commitd3521ce59ba8065ca6e65f95787fcb7d6b0ac60d (patch)
treeddf71d83a5e81c6c386a71928b8f2d0e55d5444d /libgpsd_core.c
parent8c32e095b3e70f1aea13d7f16aad29eea9746626 (diff)
downloadgpsd-d3521ce59ba8065ca6e65f95787fcb7d6b0ac60d.tar.gz
Simplify NTP SHM segment creation.
This will avoid an object file compatibility break later. All regression tetrs pass. SHM segments allocate successfully in live testing.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 8402b739..848046b8 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -291,7 +291,6 @@ void gps_context_init(struct gps_context_t *context,
#endif /* TIMEHINT_ENABLE */
#ifdef NTPSHM_ENABLE
.shmTime = {0},
- .shmTimeInuse = {0},
#endif /* NTPSHM_ENABLE */
#ifdef PPS_ENABLE
.pps_hook = NULL,