From 847485d519e9596847f6d34a6a7cbd073f72f5d4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 24 Jan 2015 07:09:35 -0500 Subject: Prevent uninitialized-field lossage in the Zodiac driver. --- driver_zodiac.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'driver_zodiac.c') diff --git a/driver_zodiac.c b/driver_zodiac.c index 0d066d1f..2a0e367e 100644 --- a/driver_zodiac.c +++ b/driver_zodiac.c @@ -165,9 +165,7 @@ static gps_mask_t handle1000(struct gps_device_t *session) unpacked_date.tm_hour = (int)getzword(22); unpacked_date.tm_min = (int)getzword(23); unpacked_date.tm_sec = (int)getzword(24); -#ifdef S_SPLINT_S unpacked_date.tm_isdst = 0; -#endif /* S_SPLINT_S */ subseconds = (int)getzlong(25) / 1e9; /*@ -compdef */ session->newdata.time = (timestamp_t)mkgmtime(&unpacked_date) + subseconds; -- cgit v1.2.1