aboutsummaryrefslogtreecommitdiff
path: root/ntpd/refclock_nmea.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/refclock_nmea.c')
-rw-r--r--ntpd/refclock_nmea.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ntpd/refclock_nmea.c b/ntpd/refclock_nmea.c
index 126b53026a9e..b1ea2946b620 100644
--- a/ntpd/refclock_nmea.c
+++ b/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