Tier0: fix netconsole and revpk compile error in debug

CCommandLine isn't implemented in tools, thus unresolved external symbol errors will be thrown. HushAsserts() was unused and therefore removed which fixes these errors.
This commit is contained in:
Kawe Mazidjatari 2024-01-12 01:58:35 +01:00
parent 89bb7f35c8
commit 6f11fffe63
2 changed files with 0 additions and 14 deletions

View File

@ -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
{

View File

@ -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:
//-----------------------------------------------------------------------------