mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
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:
parent
1f6b1c7d60
commit
d21cf191f0
@ -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
|
||||
{
|
||||
|
@ -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:
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user