From: Holger Schemel Date: Wed, 8 Mar 2023 20:12:58 +0000 (+0100) Subject: added initializing pointer X-Git-Tag: 4.3.5.2~14 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=7dbc494ecf4cd8caf0342f458df4446bcdea7575;p=rocksndiamonds.git added initializing pointer --- diff --git a/src/files.c b/src/files.c index 7d0f6f0a..5d191f02 100644 --- a/src/files.c +++ b/src/files.c @@ -12952,7 +12952,7 @@ void LoadMusicInfo(void) int num_music = getMusicListSize(); int num_music_noconf = 0; int num_sounds = getSoundListSize(); - Directory *dir; + Directory *dir = NULL; DirectoryEntry *dir_entry; struct FileInfo *music, *sound; struct MusicFileInfo *next, **new;