From 342dfcb48d9e36e523c7524f3d40945ba5aac739 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Tue, 31 Aug 2021 19:07:24 -0400 Subject: [PATCH] Minor VS buildfix --- desktop_version/src/Network.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop_version/src/Network.c b/desktop_version/src/Network.c index ad25d8bc..dc8a0112 100644 --- a/desktop_version/src/Network.c +++ b/desktop_version/src/Network.c @@ -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();