Fix build for MSVC

Variable not used, but warning can be suppressed by initialising it
This commit is contained in:
Ted John 2016-08-08 00:52:30 +01:00 committed by Michał Janiszewski
parent 79e755a36b
commit c93a6f1275
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ bool openrct2_setup_rct2_segment()
// OpenRCT2 on Linux and macOS is wired to have the original Windows PE sections loaded
// necessary. Windows does not need to do this as OpenRCT2 runs as a DLL loaded from the Windows PE.
int len = 0x01429000 - 0x8a4000; // 0xB85000, 12079104 bytes or around 11.5MB
int err;
int err = 0;
#if defined(USE_MMAP) && (defined(__unix__) || defined(__MACOSX__))
#error
#define RDATA_OFFSET 0x004A4000