Remove unused function Sys_Printf()

This commit is contained in:
Yamagi Burmeister 2012-06-20 12:51:34 +02:00
parent 1a748adaa5
commit 74e6993d6f

View file

@ -228,33 +228,7 @@ Sys_ConsoleOutput ( char *string )
}
void
Sys_Printf ( char *fmt, ... )
{
va_list argptr;
char text [ 1024 ];
unsigned char *p;
va_start( argptr, fmt );
vsnprintf( text, 1024, fmt, argptr );
va_end( argptr );
for (p = (unsigned char *)text; *p; p++)
{
*p &= 0x7f;
if ( ( ( *p > 128 ) || ( *p < 32 ) ) && ( *p != 10 ) && ( *p != 13 ) && ( *p != 9 ) )
{
printf( "[%02x]", *p );
}
else
{
putc( *p, stdout );
}
}
}
void
Sys_Quit ( void )
Sys_Quit(void)
{
#ifndef DEDICATED_ONLY
CL_Shutdown();