mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 22:11:18 +00:00
Shut up compiler error
This commit is contained in:
parent
35c1e98934
commit
7471510c8e
1 changed files with 8 additions and 3 deletions
|
@ -162,11 +162,16 @@ qboolean Sys_WritePIDFile( void )
|
||||||
char pidBuffer[ 64 ] = { 0 };
|
char pidBuffer[ 64 ] = { 0 };
|
||||||
int pid;
|
int pid;
|
||||||
|
|
||||||
fread( pidBuffer, sizeof( char ), sizeof( pidBuffer ) - 1, f );
|
pid = fread( pidBuffer, sizeof( char ), sizeof( pidBuffer ) - 1, f );
|
||||||
fclose( f );
|
fclose( f );
|
||||||
|
|
||||||
pid = atoi( pidBuffer );
|
if(pid > 0)
|
||||||
if( !Sys_PIDIsRunning( pid ) )
|
{
|
||||||
|
pid = atoi( pidBuffer );
|
||||||
|
if( !Sys_PIDIsRunning( pid ) )
|
||||||
|
stale = qtrue;
|
||||||
|
}
|
||||||
|
else
|
||||||
stale = qtrue;
|
stale = qtrue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue