diff options
author | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-28 18:11:55 +0100 |
---|---|---|
committer | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-28 18:30:27 +0100 |
commit | cd23817bf1884fee4457ab3381320b0c8fc33f48 (patch) | |
tree | 9440ff3b0386ca9e3b1bac9eda168741ec6debb3 /source/frontend/StarTeamBar.cpp | |
parent | 28d486446ca176ef0168a7284d85cb49a75a54fb (diff) |
Fixed remaining compiler warnings
Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed.
Diffstat (limited to 'source/frontend/StarTeamBar.cpp')
-rw-r--r-- | source/frontend/StarTeamBar.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/frontend/StarTeamBar.cpp b/source/frontend/StarTeamBar.cpp index d0c23c5..0909f9f 100644 --- a/source/frontend/StarTeamBar.cpp +++ b/source/frontend/StarTeamBar.cpp @@ -149,7 +149,6 @@ void TeamBar::buildTeamBar() { Vec2I offset; size_t controlIndex = 0; - size_t memberIndex = 0; float portraitScale = assets->json("/interface/windowconfig/teambar.config:memberPortraitScale").toFloat(); int memberSize = assets->json("/interface/windowconfig/teambar.config:memberSize").toInt(); @@ -158,7 +157,6 @@ void TeamBar::buildTeamBar() { Uuid myUuid = player->clientContext()->playerUuid(); for (auto member : teamClient->members()) { if (member.uuid == myUuid) { - memberIndex++; continue; } @@ -217,7 +215,6 @@ void TeamBar::buildTeamBar() { offset[1] -= memberSpacing; controlIndex++; - memberIndex++; } auto inviteButton = fetchChild<ButtonWidget>("inviteButton"); |