mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Remove local variables that are not referenced
This commit is contained in:
parent
7d350adfeb
commit
ec966a1791
5 changed files with 0 additions and 7 deletions
|
@ -951,8 +951,6 @@ QString CommandController::execCommand(const QString &textNoEmoji,
|
|||
}
|
||||
}
|
||||
|
||||
auto *twitchChannel = dynamic_cast<TwitchChannel *>(channel.get());
|
||||
|
||||
{
|
||||
// check if user command exists
|
||||
const auto it = this->userCommands_.find(commandName);
|
||||
|
|
|
@ -113,7 +113,6 @@ void IrcMessageBuilder::addWords(const QStringList &words)
|
|||
continue;
|
||||
}
|
||||
|
||||
int pos = 0;
|
||||
int lastPos = 0;
|
||||
|
||||
while (i.hasNext())
|
||||
|
|
|
@ -312,7 +312,6 @@ void TwitchMessageBuilder::addWords(
|
|||
while (doesWordContainATwitchEmote(cursor, word, twitchEmotes,
|
||||
currentTwitchEmoteIt))
|
||||
{
|
||||
auto wordEnd = cursor + word.length();
|
||||
const auto ¤tTwitchEmote = *currentTwitchEmoteIt;
|
||||
|
||||
if (currentTwitchEmote.start == cursor)
|
||||
|
|
|
@ -71,7 +71,6 @@ QString fetchLogDirectorySize()
|
|||
|
||||
ModerationPage::ModerationPage()
|
||||
{
|
||||
auto app = getApp();
|
||||
LayoutCreator<ModerationPage> layoutCreator(this);
|
||||
|
||||
auto tabs = layoutCreator.emplace<QTabWidget>();
|
||||
|
|
|
@ -819,8 +819,6 @@ void SplitContainer::applyFromDescriptorRecursively(
|
|||
|
||||
bool vertical = containerNode.vertical_;
|
||||
|
||||
Direction direction = vertical ? Direction::Below : Direction::Right;
|
||||
|
||||
node->type_ =
|
||||
vertical ? Node::VerticalContainer : Node::HorizontalContainer;
|
||||
|
||||
|
|
Loading…
Reference in a new issue