diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-10-13 20:37:38 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-10-13 20:37:38 +0200 |
commit | c8d3cce3a701f9f7786c5efecb457850d89edf6d (patch) | |
tree | feebd06a5192da7fc3ff09c7d862e38d494ccaef /src/modules | |
parent | 9bb839b6a2873a366ac8685c3c8846b6837f85ca (diff) | |
parent | d8fe6df7a7bc385a80ae3fde0e9e4a2ac12d4af3 (diff) |
Merge pull request #934 from SaberUK/insp20+fix-various-issues
Fix various issues detected by Coverity.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_watch.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index be05d7d2d..074ce37ad 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -163,9 +163,6 @@ class CommandWatch : public Command /* Yup, is on my list */ watchlist::iterator n = wl->find(nick); - if (!wl) - return CMD_FAILURE; - if (n != wl->end()) { if (!n->second.empty()) |