From 15c663392296e8f5eab78286925d6c31632d0460 Mon Sep 17 00:00:00 2001 From: Brian Cullinan Date: Wed, 7 Aug 2024 16:04:05 -0700 Subject: [PATCH] reset another debugging change --- code/qcommon/common.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 637cc9106..eb2f61203 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -20,14 +20,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ // common.c -- misc functions used in client and server -#ifdef _DEBUG -#ifndef _WIN32 -#include -#endif -#include -#include -#include -#endif #include "q_shared.h" #include "qcommon.h" @@ -2363,15 +2355,6 @@ The server calls this before shutting down or loading a new map */ void Hunk_Clear( void ) { -#ifdef _DEBUG -// if ( sig == SIGSEGV || sig == SIGILL || sig == SIGBUS ) - { - void *syms[10]; - const size_t size = backtrace( syms, ARRAY_LEN( syms ) ); - backtrace_symbols_fd( syms, size, STDERR_FILENO ); - } -#endif - #ifndef DEDICATED CL_ShutdownCGame(); CL_ShutdownUI();