diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-06-07 13:00:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-06-07 13:00:10 +0000 |
commit | 3cbcbb2d4c2012f6c15862612f84383670d1cdd6 (patch) | |
tree | 20e5b864d7942f950eb9431f0893f86576ab63da /libgps.c | |
parent | 17b4d514a3811a4ccdfbf2d379547dcb943b092f (diff) | |
download | gpsd-3cbcbb2d4c2012f6c15862612f84383670d1cdd6.tar.gz |
More splint cleanup.
Diffstat (limited to 'libgps.c')
-rw-r--r-- | libgps.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -460,8 +460,8 @@ static void gps_unpack(char *buf, struct gps_data_t *gpsdata) gpsdata->profiling = (sp[2] == '1'); break; case '$': - /*@ +matchanyintegral @*/ - (void)sscanf(sp, "$=%s %d %lf %lf %lf %lf %lf %lf", + /*@ +matchanyintegral -formatcode @*/ + (void)sscanf(sp, "$=%s %zd %lf %lf %lf %lf %lf %lf", gpsdata->tag, &gpsdata->sentence_length, &gpsdata->fix.time, @@ -470,7 +470,7 @@ static void gps_unpack(char *buf, struct gps_data_t *gpsdata) &gpsdata->d_decode_time, &gpsdata->poll_time, &gpsdata->emit_time); - /*@ -matchanyintegral @*/ + /*@ -matchanyintegral +formatcode @*/ break; } } |