summaryrefslogtreecommitdiff
path: root/gpspipe.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-25 15:39:28 -0700
committerGary E. Miller <gem@rellim.com>2015-03-25 15:39:28 -0700
commit9d7fa48c3d607e1b851abacfdf47358f78a22da3 (patch)
tree672bf8ca1cc5783c4afae47827ae6fc4f94b6c82 /gpspipe.c
parentaef73497e29db14b23448b2ae312b20733a01aac (diff)
downloadgpsd-9d7fa48c3d607e1b851abacfdf47358f78a22da3.tar.gz
The last of: Line expects to suppress X errors, found 0 errors
gpsd is now splint clean again.
Diffstat (limited to 'gpspipe.c')
-rw-r--r--gpspipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpspipe.c b/gpspipe.c
index df40408c..07051414 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -339,7 +339,7 @@ int main(int argc, char **argv)
struct tm *tmp_now;
/*@-type@*//* splint is confused about struct timespec */
- /*@i2@*/(void)clock_gettime(CLOCK_REALTIME, &now);
+ (void)clock_gettime(CLOCK_REALTIME, &now);
tmp_now = localtime((time_t *)&(now.tv_sec));
(void)strftime(tmstr, sizeof(tmstr), format, tmp_now);
new_line = 0;