mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 13:41:43 +00:00
Add brackets and else statement to KI_TRACE.
This commit is contained in:
parent
763c77eab8
commit
0ba9ae9fb7
@ -268,6 +268,11 @@ private:
|
||||
|
||||
#define KI_TRACE( aWhat, ... ) \
|
||||
if( TRACE_MANAGER::Instance().IsTraceEnabled( aWhat ) ) \
|
||||
TRACE_MANAGER::Instance().Trace( aWhat, __VA_ARGS__ )
|
||||
{ \
|
||||
TRACE_MANAGER::Instance().Trace( aWhat, __VA_ARGS__ ); \
|
||||
} \
|
||||
else \
|
||||
{ \
|
||||
}
|
||||
|
||||
#endif // _TRACE_HELPERS_H_
|
||||
|
Loading…
Reference in New Issue
Block a user