mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 18:07:09 +01:00
engine: common: mark AbortCurrentFrame as NORETURN, fix noreturn warnings
This commit is contained in:
parent
0d195ee6fe
commit
86a777880f
@ -691,7 +691,7 @@ int EXPORT Host_Main( int argc, char **argv, const char *progname, int bChangeGa
|
||||
int Host_CompareFileTime( int ft1, int ft2 );
|
||||
void Host_NewInstance( const char *name, const char *finalmsg );
|
||||
void Host_EndGame( qboolean abort, const char *message, ... ) _format( 2 );
|
||||
void Host_AbortCurrentFrame( void );
|
||||
void Host_AbortCurrentFrame( void ) NORETURN;
|
||||
void Host_WriteServerConfig( const char *name );
|
||||
void Host_WriteOpenGLConfig( void );
|
||||
void Host_WriteVideoConfig( void );
|
||||
|
@ -721,7 +721,6 @@ void GAME_EXPORT Host_Error( const char *error, ... )
|
||||
else if( host.framecount == host.errorframe )
|
||||
{
|
||||
Sys_Error( "Host_MultiError: %s", hosterror2 );
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -741,7 +740,6 @@ void GAME_EXPORT Host_Error( const char *error, ... )
|
||||
{
|
||||
Con_Printf( "Host_RecursiveError: %s", hosterror2 );
|
||||
Sys_Error( "%s", hosterror1 );
|
||||
return; // don't multiple executes
|
||||
}
|
||||
|
||||
recursive = true;
|
||||
|
Loading…
Reference in New Issue
Block a user