diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-05-19 23:33:07 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-05-19 23:33:07 +0200 |
commit | 48817837737c4b5908bb51dc319fad8f2e58ea8f (patch) | |
tree | 799da311c2ab51247f0aa53eac6990a3cfefd350 /src | |
parent | 8ceae7ec0fc73baa0d871708d5ab004c6923ac1f (diff) |
m_spanningtree Fix harmless valgrind warning about uninit var usage on unload
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index 0cd6c76c2..bbda2634d 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -117,6 +117,7 @@ TreeServer* SpanningTreeUtilities::FindServerID(const std::string &id) SpanningTreeUtilities::SpanningTreeUtilities(ModuleSpanningTree* C) : Creator(C), TreeRoot(NULL) + , PingFreq(60) // XXX: TreeServer constructor reads this and TreeRoot is created before the config is read, so init it to something (value doesn't matter) to avoid a valgrind warning in TimerManager on unload { ServerInstance->Timers.AddTimer(&RefreshTimer); } |