summaryrefslogtreecommitdiffstats
path: root/src/ClockTAI.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-10-29 16:06:11 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-10-29 16:06:11 +0100
commit09bd8f26cb37b58310ce16bf7b8b6003b4244ed5 (patch)
tree3f6b0c1e62f13e610611240ddfbe366fce98d3a3 /src/ClockTAI.h
parentbf82967d4c04946ae6e0490ea28e160a856fc81b (diff)
downloaddabmux-09bd8f26cb37b58310ce16bf7b8b6003b4244ed5.tar.gz
dabmux-09bd8f26cb37b58310ce16bf7b8b6003b4244ed5.tar.bz2
dabmux-09bd8f26cb37b58310ce16bf7b8b6003b4244ed5.zip
Some fixes for issues seen with cppcheck
Diffstat (limited to 'src/ClockTAI.h')
-rw-r--r--src/ClockTAI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClockTAI.h b/src/ClockTAI.h
index ac4978c..e0dc439 100644
--- a/src/ClockTAI.h
+++ b/src/ClockTAI.h
@@ -78,7 +78,7 @@ class ClockTAI : public RemoteControllable {
mutable std::mutex m_data_mutex;
// The currently used TAI-UTC offset
- int m_offset;
+ int m_offset = 0;
int m_offset_valid = false;
mutable std::stringstream m_bulletin;