summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-12-18 18:40:36 +0000
committerGravatar brain2006-12-18 18:40:36 +0000
commitdc92b9996c92cfcafb7347e8e1c97e16ffd4e746 (patch)
treee34acd02968e8945f56dd76e4ba0886af77c1dec /src/helperfuncs.cpp
parentThen, realize you got your subtraction back to front. (diff)
Whack a warning (unused var)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6045 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index b09cec015..842a6a4ca 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -311,7 +311,6 @@ int InspIRCd::UserCount()
// this counts only registered users, so that the percentages in /MAP don't mess up when users are sitting in an unregistered state
int InspIRCd::RegisteredUserCount()
{
- int c = 0;
return clientlist.size() - this->UnregisteredUserCount();
}