projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b48dac2
)
added initializing pointer
author
Holger Schemel
<info@artsoft.org>
Wed, 8 Mar 2023 20:12:58 +0000
(21:12 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 8 Mar 2023 20:12:58 +0000
(21:12 +0100)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index 7d0f6f0aff81becd92c1496e02263d5bf9fe1ace..5d191f027233d559a855fb16b5d50b00a2d19e25 100644
(file)
--- 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;