From: Thomas Debesse Date: Tue, 14 Jan 2020 04:47:47 +0000 (+0100) Subject: valgrind: Conditional jump or move depends on uninitialised value X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=671fad3cfda13743e184dffeea744ac9e38e04ae;p=xonotic%2Fnetradiant.git valgrind: Conditional jump or move depends on uninitialised value --- diff --git a/tools/quake3/q3map2/shaders.c b/tools/quake3/q3map2/shaders.c index 166319aa..97d98fb1 100644 --- a/tools/quake3/q3map2/shaders.c +++ b/tools/quake3/q3map2/shaders.c @@ -1272,8 +1272,7 @@ static void ParseShaderFile( const char *filename ){ else if ( !Q_stricmp( token, "sun" ) /* sof2 */ || !Q_stricmp( token, "q3map_sun" ) || !Q_stricmp( token, "q3map_sunExt" ) ) { float a, b; sun_t *sun; - qboolean ext; - + qboolean ext = qfalse; /* ydnar: extended sun directive? */ if ( !Q_stricmp( token, "q3map_sunext" ) ) {