]> vaikene.ee Git - evaf/blobdiff - src/libs/Common/logger.cpp
Fixed small mistakes detected with clang++
[evaf] / src / libs / Common / logger.cpp
index 809670a6f86f67faf5f08c946b9ddcb82166a54c..bb8807395aa7c735c07972a9a94110d1fae209df 100644 (file)
@@ -425,7 +425,7 @@ QString Logger::printf(char const * const fmt, ...) const
     va_end(ap);
 #else
     ::va_start(ap, fmt);
-    if (::vasprintf(&str, fmt, ap)); // IF is needed to avoid the compiler warning
+    if (::vasprintf(&str, fmt, ap)) {}; // IF is needed to avoid the compiler warning
     ::va_end(ap);
 #endif