mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 02:41:58 -05:00
Ignore unused variable warnings
This commit is contained in:
parent
b24b23c28a
commit
6a902f4f92
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
int len = 0x01429000 - 0x8a4000; // 0xB85000, 12079104 bytes or around 11.5MB
|
||||
int err = 0;
|
||||
|
||||
// in some configurations err and len may be unused
|
||||
UNUSED(err);
|
||||
UNUSED(len);
|
||||
#if defined(__unix__)
|
||||
int pageSize = getpagesize();
|
||||
int numPages = (len + pageSize - 1) / pageSize;
|
||||
|
|
Loading…
Reference in a new issue