7
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:
Alex 2022-07-17 20:42:32 +03:00 committed by Seth Hillbrand
parent 763c77eab8
commit 0ba9ae9fb7

View File

@ -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_