mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix build for MSVC
Variable not used, but warning can be suppressed by initialising it
This commit is contained in:
parent
79e755a36b
commit
c93a6f1275
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue