From 671fad3cfda13743e184dffeea744ac9e38e04ae Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Tue, 14 Jan 2020 05:47:47 +0100 Subject: [PATCH] valgrind: Conditional jump or move depends on uninitialised value --- tools/quake3/q3map2/shaders.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" ) ) { -- 2.39.2