From 86434e0d4b1b8f0a0a506ddf6561629d110e61c8 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 14 Apr 2012 17:04:47 +0100 Subject: Fix unused variables reported by the clang static analyzer. --- src/channels.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/channels.cpp') 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; } -- cgit v1.2.3