diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-06 11:59:17 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-06 11:59:17 +0000 |
commit | 1ee5092d7528488b2e2160a57c5dcd433ac48d4d (patch) | |
tree | 7b2109aeb51c6a58807c9bd936c947170b9c6f73 /src/user_resolver.cpp | |
parent | eb154d31f7dcda835b8cbbc0b50769d7f2474894 (diff) |
fix compile errors under debug profile in windows.
fix some warnings too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10108 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/user_resolver.cpp')
-rw-r--r-- | src/user_resolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user_resolver.cpp b/src/user_resolver.cpp index edfb64528..b5f03ca09 100644 --- a/src/user_resolver.cpp +++ b/src/user_resolver.cpp @@ -36,7 +36,7 @@ void UserResolver::OnLookupComplete(const std::string &result, unsigned int ttl, /* Check we didnt time out */ if (this->bound_user->registered != REG_ALL) { - bool lcached; + bool lcached = false; #ifdef IPV6 if (this->bound_user->GetProtocolFamily() == AF_INET6) { |