Fix uninitialized use of ext warning

This commit is contained in:
Pan7 2017-04-27 18:12:09 +02:00
parent 6e3c89c217
commit cc8cbd8a72

View file

@ -1233,6 +1233,9 @@ static void ParseShaderFile( const char *filename ){
if ( !Q_stricmp( token, "q3map_sunext" ) ) {
ext = qtrue;
}
else {
ext = qfalse;
}
/* allocate sun */
sun = safe_malloc( sizeof( *sun ) );