diff options
| author | 2014-10-12 18:38:23 +0100 | |
|---|---|---|
| committer | 2014-10-13 19:16:04 +0100 | |
| commit | d8fe6df7a7bc385a80ae3fde0e9e4a2ac12d4af3 (patch) | |
| tree | 8233b217bbe0a2974d8e49d1b1f0ce9b475d4e2e /src | |
| parent | Replace dodgy use of const char* and memcpy with std::string. (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')
| -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()) |
