X-Git-Url: https://vaikene.ee/gitweb/gitweb.cgi?p=evaf;a=blobdiff_plain;f=src%2Flibs%2FCommon%2Flogger.cpp;fp=src%2Flibs%2FCommon%2Flogger.cpp;h=94d9fa9eb9e7ea70136ed359960376a9ce844c68;hp=870af5f0347d3c3e5528b01fd056b45131051f62;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hpb=13dedf19c628b9967e4c4106ab0fd967f1df0b90 diff --git a/src/libs/Common/logger.cpp b/src/libs/Common/logger.cpp index 870af5f..94d9fa9 100644 --- a/src/libs/Common/logger.cpp +++ b/src/libs/Common/logger.cpp @@ -3,7 +3,7 @@ * @brief iLogger interface implementation * @author Enar Vaikene * - * Copyright (c) 2011-2012 Enar Vaikene + * Copyright (c) 2011-2019 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * @@ -42,7 +42,7 @@ [[noreturn]] void eVaf::Common::Internal::defFatalMsgHandler(QString const & msg, QString const & source, QString const & where) { - Q_UNUSED(source); + Q_UNUSED(source) fprintf(stderr, "FATAL ERROR: %s (occurred in %s)\n", qPrintable(msg), qPrintable(where)); @@ -443,7 +443,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