Commit f21368f9 authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by Operator for ID00

Debug: remove GCC 'unused type_flags' warning

parent fbaa7a26
......@@ -647,14 +647,17 @@ inline DebProxy DebObj::write(DebType type, ConstStr file_name, int line_nr)
* DebParams checkTypeFlags
inline void lima::DebParams::checkTypeFlags(Flags& type_flags)
if (type_flags & DEB_IGNORED_TYPE_FLAGS) {
DEB_WARNING() << "Ignored type flags: Trace|Funct|Param|Return";
type_flags &= ~DEB_IGNORED_TYPE_FLAGS;
inline void lima::DebParams::checkTypeFlags(Flags&)
#endif // DEBUG_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment