Fix uninitialised variable.
authorCarl Hetherington <cth@carlh.net>
Thu, 14 Jan 2016 20:15:43 +0000 (20:15 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 14 Jan 2016 23:02:44 +0000 (23:02 +0000)
src/KM_tai.cpp

index 2cbd1253dcaaba8f37be38ae300619e3a64df1f7..509e863251186ca3d60c955a0517ad8d1c1abdb4 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;