From 23b345478d215f1558c76db1614945e27cc355dd Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Fri, 1 Jul 2022 07:23:23 +0200 Subject: [PATCH] clean up cxxcaosdbcli --- src/cxxcaosdbcli.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cxxcaosdbcli.cpp b/src/cxxcaosdbcli.cpp index 1c936d9..8047050 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) { -- GitLab