summaryrefslogtreecommitdiff
path: root/subframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'subframe.c')
-rw-r--r--subframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subframe.c b/subframe.c
index 5cbccfdf..2d34bade 100644
--- a/subframe.c
+++ b/subframe.c
@@ -448,7 +448,7 @@ void gpsd_interpret_subframe(struct gps_device_t *session,
*/
/* FIXME!! I really doubt this is Big Endian compatible */
uint8_t preamble;
- int i; /* handy loop counter */
+ int i = 0; /* handy loop counter */
struct subframe *subp = &subframe;
gpsd_report(LOG_IO,
"50B: gpsd_interpret_subframe: (%d) "