X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=inline;f=src%2Flibs%2FCommon%2Flogger.cpp;h=bb8807395aa7c735c07972a9a94110d1fae209df;hb=c8050984a289a6ea98812395313ef37d4c7fd059;hp=809670a6f86f67faf5f08c946b9ddcb82166a54c;hpb=18ba5c0014514a8248a77dd36d8ee8d9acc3227b;p=evaf
diff --git a/src/libs/Common/logger.cpp b/src/libs/Common/logger.cpp
index 809670a..bb88073 100644
--- a/src/libs/Common/logger.cpp
+++ b/src/libs/Common/logger.cpp
@@ -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