aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-10-13 20:37:38 +0200
committerGravatar Attila Molnar2014-10-13 20:37:38 +0200
commitc8d3cce3a701f9f7786c5efecb457850d89edf6d (patch)
treefeebd06a5192da7fc3ff09c7d862e38d494ccaef /src/modules
parentMerge pull request #933 from SaberUK/insp20+fix-llvm34 (diff)
parentKill some logically dead code detected by Coverity. (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.cpp3
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())