diff --git a/src/cxxcaosdbcli.cpp b/src/cxxcaosdbcli.cpp index 1c936d9198b64e57ca3ad214769638740cc5d24d..8047050bc2480344db39cf5961228a221562542a 100644 --- a/src/cxxcaosdbcli.cpp +++ b/src/cxxcaosdbcli.cpp @@ -38,7 +38,6 @@ #include <memory> // for unique_ptr, allocator, __shared_ptr_... #include <string> // for operator<<, char_traits #include <vector> // for vector - const auto logger_name = "libcaosdb"; using boost::program_options::bool_switch; @@ -163,7 +162,7 @@ auto main(int argc, const char *argv[]) -> int { store(parser.run(), vm); notify(vm); - if (vm.count("help")) { + if (vm.count("help") != 0U) { std::cout << desc << std::endl; } else if (vm["version"].as<bool>()) { } else if (vm.count("test-connection") != 0U) {