Minor VS buildfix

This commit is contained in:
Ethan Lee 2021-08-31 19:07:24 -04:00
parent 14c24069fd
commit 342dfcb48d
1 changed files with 1 additions and 2 deletions

View File

@ -56,7 +56,7 @@ static NetworkBackend backends[NUM_BACKENDS];
int NETWORK_init(void)
{
int32_t any = 0;
int32_t i, any = 0;
#define ASSIGN_BACKEND(name, index) \
backends[index].Init = name##_init; \
backends[index].Shutdown = name##_shutdown; \
@ -72,7 +72,6 @@ int NETWORK_init(void)
#endif
#undef ASSIGN_BACKEND
#if NUM_BACKENDS > 0
int32_t i;
for (i = 0; i < NUM_BACKENDS; i += 1)
{
backends[i].IsInit = backends[i].Init();