mirror of
https://github.com/TTimo/doom3.gpl.git
synced 2026-03-20 08:59:42 +01:00
Merge pull request #31 from xoddark/Werror_conversion-null
Fix conversion-null warning
This commit is contained in:
@@ -475,7 +475,7 @@ int idDict::FindKeyIndex( const char *key ) const {
|
||||
|
||||
if ( key == NULL || key[0] == '\0' ) {
|
||||
idLib::common->DWarning( "idDict::FindKeyIndex: empty key" );
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int hash = argHash.GenerateKey( key, false );
|
||||
|
||||
Reference in New Issue
Block a user