1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Suppress unused i warning if NUM_BACKENDS is 0

Else this warning would pop up if not compiling an OFFICIAL_BUILD.
This commit is contained in:
Misa 2021-08-31 23:12:38 -07:00
parent 146678aac4
commit 0028e314e4

View file

@ -77,6 +77,8 @@ int NETWORK_init(void)
backends[i].IsInit = backends[i].Init(); backends[i].IsInit = backends[i].Init();
any |= backends[i].IsInit; any |= backends[i].IsInit;
} }
#else
UNUSED(i);
#endif #endif
return any; return any;
} }