From: Manuel Nickschas Date: Tue, 4 Sep 2018 23:13:11 +0000 (+0200) Subject: clang-tidy: Remove dead stores X-Git-Tag: 0.13-rc2~41 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=8e9a99467199d345d8ef7b403619fe02cffa341f;p=quassel.git clang-tidy: Remove dead stores --- diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index 6df98c32..0907deea 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -655,8 +655,8 @@ QString QueryBufferItem::toolTip(int column) const NetworkItem::escapeHTML(tr("Identified for this nick")), !accountAdded); // Don't add the account row again if information's already added via account-notify - // Mark the row as added - accountAdded = true; + // Not used further down... + // accountAdded = true; } else { addRow(NetworkItem::escapeHTML(tr("Service Reply"), true), NetworkItem::escapeHTML(_ircUser->whoisServiceReply()), @@ -1236,8 +1236,8 @@ QString IrcUserItem::toolTip(int column) const NetworkItem::escapeHTML(tr("Identified for this nick")), !accountAdded); // Don't add the account row again if information's already added via account-notify - // Mark the row as added - accountAdded = true; + // Not used further down... + // accountAdded = true; } else { addRow(NetworkItem::escapeHTML(tr("Service Reply"), true), NetworkItem::escapeHTML(_ircUser->whoisServiceReply()),