summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
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/modules/m_spanningtree
parent2f8303334f2c5a62bcce47d39e8cf41208a9a296 (diff)
Fix unused variables reported by the clang static analyzer.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index ea217b398..8846b2fbc 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -93,7 +93,6 @@ CmdResult CommandFJoin::Handle(const std::vector<std::string>& params, User *src
parameterlist param_list;
if (Utils->AnnounceTSChange)
chan->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE %s :TS for %s changed from %lu to %lu", chan->name.c_str(), channel.c_str(), (unsigned long) ourTS, (unsigned long) TS);
- ourTS = TS;
// while the name is equal in case-insensitive compare, it might differ in case; use the remote version
chan->name = channel;
chan->age = TS;