diff options
author | Chris Kuethe <ckuethe@users.berlios.de> | 2011-01-04 09:22:38 -0800 |
---|---|---|
committer | Chris Kuethe <ckuethe@users.berlios.de> | 2011-01-04 09:22:38 -0800 |
commit | ff080551525c951ae3fb8434637248a3e0b2014f (patch) | |
tree | a4d549891bde53ecfa150ba87264436564b2b787 /subframe.c | |
parent | a62e78ad4be9553b65cfdb0cb5d327a07290f75c (diff) | |
download | gpsd-ff080551525c951ae3fb8434637248a3e0b2014f.tar.gz |
explicitly initialize variable
Diffstat (limited to 'subframe.c')
-rw-r--r-- | subframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) " |