Removed unused variables (#1394)

* Removed unused variables

Fixes compiler warning C4189: Local variable is initialized but not
referenced

* fixed typo
This commit is contained in:
W Gomes 2019-10-29 17:15:06 -03:00 committed by fourtf
parent f7b99e0636
commit ce90253aac
3 changed files with 1 additions and 6 deletions

View file

@ -151,9 +151,6 @@ void AB_THEME_CLASS::actuallyUpdate(double hue, double multiplier)
this->tabs.bottomLine = this->tabs.selected.backgrounds.regular.color();
}
// Split
bool flat = isLight_;
// Message
this->messages.textColors.link =
isLight_ ? QColor(66, 134, 244) : QColor(66, 134, 244);

View file

@ -156,7 +156,7 @@ namespace detail {
if (self->awaitingPong_)
{
log("No pong respnose, disconnect!");
log("No pong response, disconnect!");
// TODO(pajlada): Label this connection as "disconnect
// me"
}

View file

@ -1128,8 +1128,6 @@ void TwitchMessageBuilder::appendTwitchBadges()
return;
}
auto app = getApp();
auto iterator = this->tags.find("badges");
if (iterator == this->tags.end())
return;