diff options
| author | 2015-05-19 23:33:07 +0200 | |
|---|---|---|
| committer | 2015-05-19 23:33:07 +0200 | |
| commit | 48817837737c4b5908bb51dc319fad8f2e58ea8f (patch) | |
| tree | 799da311c2ab51247f0aa53eac6990a3cfefd350 /src/modules/m_spanningtree/utils.cpp | |
| parent | Increase entries in valgrind stack traces to 30 (--num-callers) (diff) | |
m_spanningtree Fix harmless valgrind warning about uninit var usage on unload
Diffstat (limited to 'src/modules/m_spanningtree/utils.cpp')
| -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); } |
