diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-19 00:43:35 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-19 00:43:35 +0000 |
commit | 715984299881265e3659c412d68139255d8c64e7 (patch) | |
tree | bdc96ed41c3c419cbddadd89cb9c7d51687884da /src/wildcard.cpp | |
parent | 91c14cde8b5c1dd5bd503288cf10bc98084a1b95 (diff) |
Fix all the _FORTIFY_SOURCE warnings except "punned pointer".
We CANNOT fix this, as it is the recommended (and only) way to dlsym a symbol from a .so file.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5770 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/wildcard.cpp')
-rw-r--r-- | src/wildcard.cpp | 2 |
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; |