From: Guus Sliepen Date: Sat, 21 Nov 2015 15:17:31 +0000 (+0100) Subject: Fix missing pointer initialization. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d5a7e4ce0539d73ffd9ba37c3991742b2a8f20cf;p=quix0rs-blobwars.git Fix missing pointer initialization. Found by Clang. --- 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;