X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=inline;f=src%2Fmain%2FCLI%2Fmain.cpp;h=908619f45e75ed1c68f767544abe82763ea4e367;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hp=c795bbaa9603390a4ecb75b285e61a14e7f0debf;hpb=de270ece1b764b19968e14420f538321f1c06b15;p=evaf
diff --git a/src/main/CLI/main.cpp b/src/main/CLI/main.cpp
index c795bba..908619f 100644
--- a/src/main/CLI/main.cpp
+++ b/src/main/CLI/main.cpp
@@ -2,7 +2,7 @@
* @file main/CLI/main.cpp
* @brief The main eVaf CLI application class
*
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
*
* This file is part of the eVaf C++ cross-platform application development framework.
*
@@ -94,9 +94,9 @@ static void messageOutput(QtMsgType type, QMessageLogContext const &, QString co
*/
[[noreturn]] static void fatalMsgHandler(QString const & msg, QString const & source, QString const & where)
{
- Q_UNUSED(msg);
- Q_UNUSED(source);
- Q_UNUSED(where);
+ Q_UNUSED(msg)
+ Q_UNUSED(source)
+ Q_UNUSED(where)
exit(1);
}
@@ -265,7 +265,7 @@ int main(int argc, char ** argv)
// The main run loop
bool quit = false;
- int rval;
+ int rval = 0;
while (!quit) {
EVAF_INFO("%s is starting up", VER_MODULE_NAME_STR);