summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-10-12 18:38:23 +0100
committerPeter Powell <petpow@saberuk.com>2014-10-13 19:16:04 +0100
commitd8fe6df7a7bc385a80ae3fde0e9e4a2ac12d4af3 (patch)
tree8233b217bbe0a2974d8e49d1b1f0ce9b475d4e2e /src/modules
parentef335eb2de8e33550661c7dc826f471c3405c25f (diff)
Kill some logically dead code detected by Coverity.
- m_watch: wl has already been confirmed to not be NULL on L161.
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())