mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-02-03 23:21:22 +00:00
Merge pull request #471 from Pan7/fixextwarn
Fix uninitialized use of ext warning
This commit is contained in:
commit
24a2a70db7
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue