From 7af7608f62fb761d6d46419ccdd716abfc25174d Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 6 Sep 2025 12:10:37 +0100 Subject: [PATCH] Fix uninitialised variable warning --- code/qcommon/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/files.c b/code/qcommon/files.c index eff3738d..6491d314 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -2442,7 +2442,7 @@ A mod directory is a peer to baseq3 with a pk3 or pk3dir in it ================ */ int FS_GetModList( char *listbuf, int bufsize ) { - int nMods, i, j, k, nTotal, nLen, nPaks, nDirs, nPakDirs, nPotential, nDescLen; + int nMods, i, j, k, nTotal, nLen, nPaks = 0, nDirs = 0, nPakDirs = 0, nPotential, nDescLen; char **pFiles = NULL; char **pPaks = NULL; char **pDirs = NULL;