Ignore unused variable warnings

This commit is contained in:
Marijn van der Werf 2016-10-11 00:53:31 +02:00
parent b24b23c28a
commit 6a902f4f92
1 changed files with 3 additions and 1 deletions

View File

@ -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;