mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Remove redundant check
This commit is contained in:
parent
ddbaf03d72
commit
3926194110
1 changed files with 0 additions and 4 deletions
|
@ -449,10 +449,6 @@ eclass_t *Eclass_ForName( const char *name, qboolean has_brushes ){
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( !name ) {
|
|
||||||
return eclass_bad;
|
|
||||||
}
|
|
||||||
|
|
||||||
for ( e = eclass ; e ; e = e->next )
|
for ( e = eclass ; e ; e = e->next )
|
||||||
if ( !strcmp( name, e->name ) ) {
|
if ( !strcmp( name, e->name ) ) {
|
||||||
return e;
|
return e;
|
||||||
|
|
Loading…
Reference in a new issue