mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
* Fix warning
This commit is contained in:
parent
053aa8ead7
commit
88cbeae0fd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue