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/modules/m_spanningtree/fjoin.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/modules') 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& 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; -- cgit v1.2.3