From 128acaff79c423102e83adf8ad87d883af607640 Mon Sep 17 00:00:00 2001 From: Theriaca Date: Sat, 26 Jan 2019 18:33:37 +0100 Subject: initialize max in G_OverflowFunds (gcc pls) --- src/game/g_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/g_client.c b/src/game/g_client.c index 5601e3f..0eafac0 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -93,7 +93,7 @@ static void G_OverflowFunds(gclient_t *donor, float funds) { int i; int count = 0; - float max; + float max = 0.0f; gclient_t *clients[MAX_CLIENTS]; if (!g_creditOverflow.integer || !funds) -- cgit