summaryrefslogtreecommitdiff
path: root/ntpshmwrite.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-03 13:05:37 -0800
committerGary E. Miller <gem@rellim.com>2015-03-03 13:05:37 -0800
commitff37bbda2a251481933f246c163431fe1bdc836c (patch)
tree5e77de476ef26fd7fa1017777feee27efca9aeb1 /ntpshmwrite.c
parentcbfd52b624faeda528c3742a4053b14a056cfea8 (diff)
downloadgpsd-ff37bbda2a251481933f246c163431fe1bdc836c.tar.gz
Needed for COVERITY, needed for all.
Unused vars should always be initialized, not just for coverity.
Diffstat (limited to 'ntpshmwrite.c')
-rw-r--r--ntpshmwrite.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ntpshmwrite.c b/ntpshmwrite.c
index 2e160b21..172ef91f 100644
--- a/ntpshmwrite.c
+++ b/ntpshmwrite.c
@@ -372,9 +372,7 @@ static void chrony_send(struct gps_device_t *session, struct timedelta_t *td)
* not a big deal as slewing will bbe required */
sample.offset = TSTONS( &offset );
/*@+compdef@*/
-#ifdef __COVERITY__
sample._pad = 0;
-#endif /* __COVERITY__ */
/*@+type@*/
/*@-type@*/ /* splint is confused about struct timespec */