From d5a7e4ce0539d73ffd9ba37c3991742b2a8f20cf Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 21 Nov 2015 16:17:31 +0100 Subject: [PATCH] Fix missing pointer initialization. Found by Clang. --- src/info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/info.cpp b/src/info.cpp index c86f5b6..8f0822d 100644 --- a/src/info.cpp +++ b/src/info.cpp @@ -339,7 +339,7 @@ SDL_Surface *createMusicInfo(void) SDL_Surface *text1; SDL_Surface *text2 = NULL; SDL_Surface *text3 = NULL; - SDL_Surface *icon; + SDL_Surface *icon = NULL; SDL_Surface *panel; int w = 0; -- 2.39.5