mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Fix uninitialized use of ext warning
This commit is contained in:
parent
6e3c89c217
commit
cc8cbd8a72
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" ) ) {
|
||||
ext = qtrue;
|
||||
}
|
||||
else {
|
||||
ext = qfalse;
|
||||
}
|
||||
|
||||
/* allocate sun */
|
||||
sun = safe_malloc( sizeof( *sun ) );
|
||||
|
|
Loading…
Reference in a new issue