diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-05-16 20:33:46 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-05-16 20:33:46 +0200 |
commit | 0a8b0d317ed4adc43185c1b791bcf752115dc58e (patch) | |
tree | c2be0ec5f20ec5bdb0c8c435fe5bd57d53caeaef /src/channels.cpp | |
parent | 7fb10c11e442135988d9ea0646f6f2b4a5e421f7 (diff) |
Remove unused variables, avoid copies where possible, check empty() instead of size() == 0
Most of these were detected by cppcheck
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 3502abe12..4f63654a5 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -673,7 +673,6 @@ void Channel::WriteAllExcept(User* user, bool serversource, char status, CUList char tb[MAXBUF]; snprintf(tb,MAXBUF,":%s %s", serversource ? ServerInstance->Config->ServerName.c_str() : user->GetFullHost().c_str(), text.c_str()); - std::string out = tb; this->RawWriteAllExcept(user, serversource, status, except_list, std::string(tb)); } |