summaryrefslogtreecommitdiff
path: root/src/wildcard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wildcard.cpp')
-rw-r--r--src/wildcard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wildcard.cpp b/src/wildcard.cpp
index eacffcb04..57b1bab48 100644
--- a/src/wildcard.cpp
+++ b/src/wildcard.cpp
@@ -35,7 +35,7 @@ using irc::sockets::MatchCIDR;
bool match(const char *str, const char *mask)
{
- unsigned char *cp, *mp;
+ unsigned char *cp = NULL, *mp = NULL;
unsigned char* string = (unsigned char*)str;
unsigned char* wild = (unsigned char*)mask;