1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +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

@@ -106,8 +106,6 @@ void S6Importer::LoadScenario(const utf8 * path)
void S6Importer::LoadSavedGame(SDL_RWops *rw)
{
auto meh = SDL_RWtell(rw);
sawyercoding_read_chunk_safe(rw, &_s6.header, sizeof(_s6.header));
if (_s6.header.type != S6_TYPE_SAVEDGAME)
{