From e6e5e46be3621819c30b7291f4a74c1171f44f04 Mon Sep 17 00:00:00 2001
From: Cthulhu-throwaway <96153783+Cthulhu-throwaway@users.noreply.github.com>
Date: Sat, 18 Jun 2022 12:10:01 -0300
Subject: [PATCH] (Netplay) Buildfix for some "dumber" compilers

---
 network/netplay/netplay_frontend.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/network/netplay/netplay_frontend.c b/network/netplay/netplay_frontend.c
index c6a992f65d..926ae434cc 100644
--- a/network/netplay/netplay_frontend.c
+++ b/network/netplay/netplay_frontend.c
@@ -3380,7 +3380,7 @@ critical_failure:
 static struct netplay_connection *allocate_connection(netplay_t *netplay)
 {
    size_t i;
-   struct netplay_connection *connection;
+   struct netplay_connection *connection = NULL;
 
    /* Look for an existing non-used connection first. */
    for (i = 0; i < netplay->connections_size; i++)
@@ -3391,7 +3391,9 @@ static struct netplay_connection *allocate_connection(netplay_t *netplay)
          break;
    }
    if (i < netplay->connections_size)
+   {
       memset(connection, 0, sizeof(*connection));
+   }
    else if (!netplay->connections_size)
    {
       netplay->connections =