1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Fixes to -Wall compilation

By default, not all warnings are enabled. This change makes sure that
the project compiles correctly with following options turned on:

    -Wall -Wno-unused-but-set-variable -Wno-missing-braces \
    -Wno-unknown-pragmas -Wno-unused-function
This commit is contained in:
Michał Janiszewski
2016-06-20 14:46:27 +02:00
committed by Ted John
parent 9f2f7c6b68
commit 644a36a310
20 changed files with 30 additions and 58 deletions

View File

@@ -468,7 +468,7 @@ namespace Twitch
size_t memberIndex = SIZE_MAX;
FOR_ALL_GUESTS(spriteIndex, peep)
{
int originalMemberIndex = memberIndex;
size_t originalMemberIndex = memberIndex;
for (size_t i = memberIndex + 1; i < members.GetCount(); i++)
{
if (!members[i].Exists)