summaryrefslogtreecommitdiff
path: root/rtcm2_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-10 09:05:32 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-10 09:05:32 +0000
commitb85ca4e26b61471cd17e9468efbb49c56b77fdb9 (patch)
tree51fe0e01ae5665a98f4b28fda241ee244ca80e8e /rtcm2_json.c
parentdad8b2b68113840c826e43e3857c487498271c85 (diff)
downloadgpsd-b85ca4e26b61471cd17e9468efbb49c56b77fdb9.tar.gz
Son of the Splint Cleanup.
Major change in this set is enforcong consistency about the data type of serial parity information.
Diffstat (limited to 'rtcm2_json.c')
-rw-r--r--rtcm2_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtcm2_json.c b/rtcm2_json.c
index 6cc0525b..67ba5dc9 100644
--- a/rtcm2_json.c
+++ b/rtcm2_json.c
@@ -43,7 +43,7 @@ int json_rtcm2_read(const char *buf,
{"length", uinteger, .addr.uinteger = &rtcm2->length}, \
{"station_health", uinteger, .addr.uinteger = &rtcm2->stathlth},
- int status, satcount;
+ int status = 0, satcount = 0;
/*@ -fullinitblock @*/
const struct json_attr_t rtcm1_satellite[] = {