diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-01-17 08:18:58 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-01-17 08:18:58 -0500 |
commit | ef398df4788cc2055e9da5e26ef28612e266bf98 (patch) | |
tree | c4d44417aebdbb5c3912f9f4e06c03435ea96082 /gpsdecode.c | |
parent | 24e944b7f643dd05fe81434112038d351ea7f78c (diff) | |
download | gpsd-ef398df4788cc2055e9da5e26ef28612e266bf98.tar.gz |
Clean up warnings reported by Charles Curley.
Diffstat (limited to 'gpsdecode.c')
-rw-r--r-- | gpsdecode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gpsdecode.c b/gpsdecode.c index cc47e9a3..05eb3de0 100644 --- a/gpsdecode.c +++ b/gpsdecode.c @@ -361,8 +361,12 @@ static void decode(FILE * fpin, FILE * fpout) /* RTCM or AIS packets on fpin to dump format on fpout */ { struct gps_packet_t lexer; +#ifdef RTCM104V2_ENABLE struct rtcm2_t rtcm2; +#endif +#ifdef RTCM104V3_ENABLE struct rtcm3_t rtcm3; +#endif struct ais_t ais; struct aivdm_context_t aivdm[AIVDM_CHANNELS]; char buf[BUFSIZ]; |