X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=util.c;h=9b32e48394806022e2ab2f0e9c7446aeb211cae1;hb=b2c8f3ebc5066a0c68d202b94f1e052e59eb1af4;hp=6a701e4557a1f4a8943453802445128bfcc350d9;hpb=95138b1e5b7c2d25fb365aa4001dec4eca9cc6fd;p=xonotic%2Fgmqcc.git diff --git a/util.c b/util.c index 6a701e4..9b32e48 100644 --- a/util.c +++ b/util.c @@ -54,20 +54,6 @@ const char *util_instr_str[VINSTR_END] = { "BITAND", "BITOR" }; -void util_debug(const char *area, const char *ms, ...) { - va_list va; - if (!OPTS_OPTION_BOOL(OPTION_DEBUG)) - return; - - if (!strcmp(area, "MEM") && !OPTS_OPTION_BOOL(OPTION_MEMCHK)) - return; - - va_start(va, ms); - con_out ("[%s] ", area); - con_vout(ms, va); - va_end (va); -} - /* * only required if big endian .. otherwise no need to swap * data.