From ef398df4788cc2055e9da5e26ef28612e266bf98 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 17 Jan 2011 08:18:58 -0500 Subject: Clean up warnings reported by Charles Curley. --- gpsdecode.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gpsdecode.c') 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]; -- cgit v1.2.1