mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Fix clang copmiler warning in assertion macro
This commit is contained in:
parent
c6b9a2d4c5
commit
1c9263877e
2 changed files with 8 additions and 0 deletions
|
@ -253,9 +253,13 @@ DBG_INTERFACE struct SDL_Window * GetAssertDialogParent();
|
|||
if ( ret == SPEW_DEBUGGER) \
|
||||
{ \
|
||||
if ( !ShouldUseNewAssertDialog() || DoNewAssertDialog( __TFILE__, __LINE__, _msg ) ) \
|
||||
{ \
|
||||
DebuggerBreak(); \
|
||||
} \
|
||||
if ( _bFatal ) \
|
||||
{ \
|
||||
_ExitOnFatalAssert( __TFILE__, __LINE__ ); \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
} while (0)
|
||||
|
|
|
@ -253,9 +253,13 @@ DBG_INTERFACE struct SDL_Window * GetAssertDialogParent();
|
|||
if ( ret == SPEW_DEBUGGER) \
|
||||
{ \
|
||||
if ( !ShouldUseNewAssertDialog() || DoNewAssertDialog( __TFILE__, __LINE__, _msg ) ) \
|
||||
{ \
|
||||
DebuggerBreak(); \
|
||||
} \
|
||||
if ( _bFatal ) \
|
||||
{ \
|
||||
_ExitOnFatalAssert( __TFILE__, __LINE__ ); \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
} while (0)
|
||||
|
|
Loading…
Reference in a new issue