]> vaikene.ee Git - evaf/blobdiff - src/main/CLI/main.cpp
Fixed compiler warning for unhandled Common::iLogger::Count value.
[evaf] / src / main / CLI / main.cpp
index 3c1ec3b2e032a4608d56c4314d79a411f9c1c160..4e8fe7e0b606115889ed12b8fdec27cd84b48bfd 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <Common/Globals>
 #include <Common/iLogger>
-#include <Common/iEnv>
 #include <Common/iApp>
 
 #include <Plugins/PluginManager>
@@ -179,7 +178,7 @@ bool Application::processCommandLine(int argc, char ** argv)
                     case Common::iLogger::Info:
                         consoleSeverityLevel = Common::iLogger::Debug;
                         break;
-                    case Common::iLogger::Debug:
+                    default:
                         break;
                 }
             }
@@ -209,7 +208,6 @@ void Application::printHelp()
         "  -lang[uage]=xx[_CC] Specifies the language, where xx is the ISO 639\n"
         "                   language code followed by an optional ISO 3166 country\n"
         "                   code.\n"
-        // Handled by the iEnv interface implementation
         "  -root[dir]=DIR   Specifies the application's root directory.\n"
         "  -dataroot[dir]=DIR Specifies the data root directory.\n"
         "  -etc[dir]=DIR    Specifies the configuration files directory.\n"