Cppcheck warnings.
--HG-- branch : develop
This commit is contained in:
parent
2d21ac2266
commit
6b47894f16
|
@ -112,10 +112,12 @@ __inline__ static void debug_break(void)
|
||||||
* use builtin trap instead */
|
* use builtin trap instead */
|
||||||
HAVE_TRAP_INSTRUCTION ? trap_instruction() : __builtin_trap();
|
HAVE_TRAP_INSTRUCTION ? trap_instruction() : __builtin_trap();
|
||||||
#else
|
#else
|
||||||
|
// cppcheck-suppress knownConditionTrueFalse
|
||||||
if (HAVE_TRAP_INSTRUCTION)
|
if (HAVE_TRAP_INSTRUCTION)
|
||||||
{
|
{
|
||||||
trap_instruction();
|
trap_instruction();
|
||||||
}
|
}
|
||||||
|
// cppcheck-suppress knownConditionTrueFalse
|
||||||
else if (DEBUG_BREAK_PREFER_BUILTIN_TRAP_TO_SIGTRAP)
|
else if (DEBUG_BREAK_PREFER_BUILTIN_TRAP_TO_SIGTRAP)
|
||||||
{
|
{
|
||||||
/* raises SIGILL on Linux x86{,-64}, to continue in gdb:
|
/* raises SIGILL on Linux x86{,-64}, to continue in gdb:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user