mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 21:31:46 +08:00
engine: fix more warnings
This commit is contained in:
@@ -943,11 +943,11 @@ void GAME_EXPORT pfnResetTutorMessageDecayData( void )
|
||||
|
||||
static void Test_LZSS( void )
|
||||
{
|
||||
char poison1[8192];
|
||||
char poison1[8192] MAYBE_UNUSED;
|
||||
byte in[256];
|
||||
char poison2[8192];
|
||||
char poison2[8192] MAYBE_UNUSED;
|
||||
byte out[256];
|
||||
char poison3[8192];
|
||||
char poison3[8192] MAYBE_UNUSED;
|
||||
|
||||
lzss_header_t *hdr = (lzss_header_t *)in;
|
||||
uint result;
|
||||
|
||||
@@ -92,7 +92,7 @@ void COM_UnMunge2( byte *data, size_t len, int seq )
|
||||
}
|
||||
|
||||
#if XASH_ENGINE_TESTS // not used in client, keep for tests only
|
||||
void COM_Munge3( byte *data, size_t len, int seq )
|
||||
static void COM_Munge3( byte *data, size_t len, int seq )
|
||||
{
|
||||
COM_GenericMunge( data, len, seq, mungify_table3, false );
|
||||
}
|
||||
|
||||
@@ -594,7 +594,7 @@ qboolean Sys_NewInstance( const char *gamedir, const char *finalmsg )
|
||||
exit( 0 );
|
||||
#else
|
||||
int exelen;
|
||||
char *exe, **newargs;
|
||||
char *exe = NULL, **newargs;
|
||||
|
||||
// don't use engine allocation utils here
|
||||
// they will be freed after Host_Shutdown
|
||||
|
||||
Reference in New Issue
Block a user