summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-07-09 17:34:10 +0200
committerattilamolnar <attilamolnar@hush.com>2013-07-09 17:34:10 +0200
commitbe23ca74e47887d5e4306a82c214db42fff0a944 (patch)
treee0291fbbb29aca158bc63a85a0cf2197ed6f3f80 /src/modules
parent7dd381f568938971e9c69a074def5da058d5c242 (diff)
m_userip Fix incorrect "variable may be used uninitialized" warning shown by older GCC versions
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_userip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index bfac36b1a..5ea84c04a 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -38,7 +38,7 @@ class CommandUserip : public Command
std::string retbuf = "340 " + user->nick + " :";
int nicks = 0;
bool checked_privs = false;
- bool has_privs;
+ bool has_privs = false;
for (int i = 0; i < (int)parameters.size(); i++)
{