Skip to content

Commit

Permalink
reset another debugging change
Browse files Browse the repository at this point in the history
  • Loading branch information
briancullinan2 committed Aug 7, 2024
1 parent 1890410 commit 15c6633
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions code/qcommon/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <execinfo.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#endif

#include "q_shared.h"
#include "qcommon.h"
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 15c6633

Please sign in to comment.