summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/sysync/debuglogger.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysync/debuglogger.cpp b/src/sysync/debuglogger.cpp
index a562fd8..d6b1e77 100755
--- a/src/sysync/debuglogger.cpp
+++ b/src/sysync/debuglogger.cpp
@@ -577,10 +577,14 @@ void TDebugLoggerBase::DebugOpenBlock(TDBG_LOCATION_PROTO cAppCharP aBlockName,
{
// we need a format and debug not completely off
if (getMask() && aBlockName) {
+#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wformat-security"
+#endif
DebugOpenBlock(TDBG_LOCATION_ARG aBlockName,aBlockTitle,aCollapsed,NULL);
+#ifdef __clang__
#pragma clang diagnostic pop
+#endif
}
} // TDebugLoggerBase::DebugOpenBlock