mirror of https://github.com/TTimo/GtkRadiant.git
Merge pull request #471 from Pan7/fixextwarn
Fix uninitialized use of ext warning
This commit is contained in:
commit
24a2a70db7
|
@ -1233,6 +1233,9 @@ static void ParseShaderFile( const char *filename ){
|
||||||
if ( !Q_stricmp( token, "q3map_sunext" ) ) {
|
if ( !Q_stricmp( token, "q3map_sunext" ) ) {
|
||||||
ext = qtrue;
|
ext = qtrue;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
ext = qfalse;
|
||||||
|
}
|
||||||
|
|
||||||
/* allocate sun */
|
/* allocate sun */
|
||||||
sun = safe_malloc( sizeof( *sun ) );
|
sun = safe_malloc( sizeof( *sun ) );
|
||||||
|
|
Loading…
Reference in New Issue