From 0a8b0d317ed4adc43185c1b791bcf752115dc58e Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 16 May 2013 20:33:46 +0200 Subject: Remove unused variables, avoid copies where possible, check empty() instead of size() == 0 Most of these were detected by cppcheck --- src/modules/m_spanningtree/netburst.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index 5248ea897..d508c092d 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -240,7 +240,6 @@ void TreeSocket::SendChannelModes() void TreeSocket::SendUsers() { char data[MAXBUF]; - std::string dataline; for (user_hash::iterator u = ServerInstance->Users->clientlist->begin(); u != ServerInstance->Users->clientlist->end(); u++) { if (u->second->registered == REG_ALL) -- cgit v1.2.3