* Fix warning
This commit is contained in:
1 parent
053aa8ead7
commit
88cbeae0fd
1 file changed
+2
-2
+2
-2
@@ -142,8 +142,8 @@ static char *Sys_PIDFileName( void )
|
||||
{
|
||||
const char *homePath = Sys_DefaultHomePath( );
|
||||
|
||||
if( *homePath != NULL )
|
||||
return va( "%s/%s", Sys_DefaultHomePath( ), PID_FILENAME );
|
||||
if( *homePath != '\0' )
|
||||
return va( "%s/%s", homePath, PID_FILENAME );
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user