]> git.mxchange.org Git - quix0rs-blobwars.git/commitdiff
Fix missing pointer initialization.
authorGuus Sliepen <guus@debian.org>
Sat, 21 Nov 2015 15:17:31 +0000 (16:17 +0100)
committerGuus Sliepen <guus@debian.org>
Sat, 21 Nov 2015 15:17:31 +0000 (16:17 +0100)
Found by Clang.

src/info.cpp

index c86f5b629f2fdbe7b9f71c2cc2aaf60cf98de657..8f0822dda856852d4029802e0586ca2eac2d68df 100644 (file)
@@ -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;