Fix uninitialised variable.
authorCarl Hetherington <cth@carlh.net>
Thu, 14 Jan 2016 20:15:43 +0000 (20:15 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 3 Dec 2019 15:44:40 +0000 (16:44 +0100)
src/KM_tai.cpp

index 7cf363af123e5fa774989a3aa8369dbdc1f0202c..00a1231ea253330fceb8bfc5ba8c8081a73a3b6c 100644 (file)
@@ -190,6 +190,7 @@ Kumu::TAI::tai::now()
   ct.hour = st.wHour;
   ct.minute = st.wMinute;
   ct.second = st.wSecond;
+  ct.offset = 0;
   caltime_tai(&ct, this);
 #else
   struct timeval now;