diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-17 17:28:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-17 17:28:54 +0000 |
commit | 43a376fd68197db472472db78afd7bb5545fde38 (patch) | |
tree | 16789d3f2da364e38df6774a4c1cf8b9f986cf7e /src/modules.cpp | |
parent | ab4e56b784c952a0aae745a2b1feca0ac0cf592b (diff) |
Fix the warnings that are worth fixing, ignore the rest of gcc's nannying
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9117 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 8fd1e84de..8a769ceb1 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -251,7 +251,7 @@ bool ModuleManager::SetPriority(Module* mod, Implementation i, PriorityState s, * on which they want, and we make sure our module is *at least* before or after * the first or last of this subset, depending again on the type of priority. */ - size_t swap_pos; + size_t swap_pos = 0; size_t source = 0; bool swap = true; bool found = false; |