diff --git a/src/public/tier0/dbg.h b/src/public/tier0/dbg.h index 643c8c1d..fcc69833 100644 --- a/src/public/tier0/dbg.h +++ b/src/public/tier0/dbg.h @@ -15,7 +15,6 @@ // Used for the 'Error' function, this tells the function to only log, not quit. //#define NO_ERROR 0 -bool HushAsserts(); //----------------------------------------------------------------------------- enum class eDLL_T : int { diff --git a/src/tier0/dbg.cpp b/src/tier0/dbg.cpp index c48b5768..76e9f63f 100644 --- a/src/tier0/dbg.cpp +++ b/src/tier0/dbg.cpp @@ -19,19 +19,6 @@ CoreMsgVCallbackSink_t g_CoreMsgVCallback = nullptr; -//----------------------------------------------------------------------------- -// True if -hushasserts was passed on command line. -//----------------------------------------------------------------------------- -bool HushAsserts() -{ -#if defined (DBGFLAG_ASSERT) && !defined (_TOOLS) - static bool s_bHushAsserts = !!CommandLine()->FindParm("-hushasserts"); - return s_bHushAsserts; -#else - return true; -#endif -} - //----------------------------------------------------------------------------- // Templates to assist in validating pointers: //-----------------------------------------------------------------------------