mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Ignore unused variable warnings
This commit is contained in:
@@ -263,7 +263,9 @@ static bool openrct2_setup_rct2_segment()
|
|||||||
// necessary. Windows does not need to do this as OpenRCT2 runs as a DLL loaded from the Windows PE.
|
// 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 len = 0x01429000 - 0x8a4000; // 0xB85000, 12079104 bytes or around 11.5MB
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
// in some configurations err and len may be unused
|
||||||
|
UNUSED(err);
|
||||||
|
UNUSED(len);
|
||||||
#if defined(__unix__)
|
#if defined(__unix__)
|
||||||
int pageSize = getpagesize();
|
int pageSize = getpagesize();
|
||||||
int numPages = (len + pageSize - 1) / pageSize;
|
int numPages = (len + pageSize - 1) / pageSize;
|
||||||
|
|||||||
Reference in New Issue
Block a user