summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2012-04-14 17:04:47 +0100
committerPeter Powell <petpow@saberuk.com>2012-04-14 17:04:47 +0100
commit86434e0d4b1b8f0a0a506ddf6561629d110e61c8 (patch)
tree7ee913c0a90c11e641b034b65083f0b5d770f9aa /src/channels.cpp
parent2f8303334f2c5a62bcce47d39e8cf41208a9a296 (diff)
Fix unused variables reported by the clang static analyzer.
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 8e7d4af06..0b8945aca 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -804,7 +804,6 @@ void Channel::UserList(User *user)
dlen = curlen = snprintf(list,MAXBUF,"%s %c %s :", user->nick.c_str(), this->IsModeSet('s') ? '@' : this->IsModeSet('p') ? '*' : '=', this->name.c_str());
ptr = list + dlen;
- ptrlen = 0;
numusers = 0;
}