diff options
Diffstat (limited to 'contrib/ntp/ntpd/refclock_nmea.c')
-rw-r--r-- | contrib/ntp/ntpd/refclock_nmea.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/ntp/ntpd/refclock_nmea.c b/contrib/ntp/ntpd/refclock_nmea.c index 126b530..b1ea294 100644 --- a/contrib/ntp/ntpd/refclock_nmea.c +++ b/contrib/ntp/ntpd/refclock_nmea.c @@ -810,9 +810,10 @@ nmea_receive( ZERO(tofs); ZERO(date); ZERO(gpsw); - sentence = 0; - rc_date = 0; - rc_time = 0; + sentence = 0; // Should never be needed. + rc_date = 0; // Should never be needed. + rc_time = 0; // Should never be needed. + /* * Read the timecode and timestamp, then initialise field * processing. The <CR><LF> at the NMEA line end is translated |