diff options
author | Adam <Adam@anope.org> | 2013-07-03 19:44:13 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-03 19:44:13 -0400 |
commit | c2e1a8a3e2bc2144ad0c4c6009be3ea974aef58f (patch) | |
tree | 6e138bacbfa36b2a2166527f8d32a1e5dcb9e325 /src/nickcore.cpp | |
parent | c62b3cb275800555f4e04f294d432dccf909d134 (diff) |
Fix some warnings and errors reported by valgrind
Diffstat (limited to 'src/nickcore.cpp')
-rw-r--r-- | src/nickcore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nickcore.cpp b/src/nickcore.cpp index 9bbaae959..3b27268ea 100644 --- a/src/nickcore.cpp +++ b/src/nickcore.cpp @@ -113,9 +113,11 @@ Serializable* NickCore::Unserialize(Serializable *obj, Serialize::Data &data) /* compat */ bool b; + b = false; data["extensible:SECURE"] >> b; if (b) nc->Extend<bool>("NS_SECURE"); + b = false; data["extensible:PRIVATE"] >> b; if (b) nc->Extend<bool>("NS_PRIVATE"); |