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:
committed by
Ted John
parent
9f2f7c6b68
commit
644a36a310
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user