diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-03 13:05:37 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-03 13:05:37 -0800 |
commit | ff37bbda2a251481933f246c163431fe1bdc836c (patch) | |
tree | 5e77de476ef26fd7fa1017777feee27efca9aeb1 /ntpshmwrite.c | |
parent | cbfd52b624faeda528c3742a4053b14a056cfea8 (diff) | |
download | gpsd-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.c | 2 |
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 */ |