diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/cl_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c index 1f95b7e0..ad1acc83 100644 --- a/src/client/cl_main.c +++ b/src/client/cl_main.c @@ -2646,7 +2646,7 @@ Responses to broadcasts, etc void CL_ConnectionlessPacket( netadr_t from, msg_t *msg ) { char *s; char *c; - int challenge; + int challenge = 0; MSG_BeginReadingOOB( msg ); MSG_ReadLong( msg ); // skip the -1 @@ -3096,7 +3096,7 @@ CL_RefPrintf DLL glue ================ */ -void QDECL CL_RefPrintf( int print_level, const char *fmt, ...) { +static __attribute__ ((format (printf, 2, 3))) void QDECL CL_RefPrintf( int print_level, const char *fmt, ...) { va_list argptr; char msg[MAXPRINTMSG]; |