clang-tidy: add most bugprone warnings
[lttng-tools.git] / src / common / ini-config / ini-config.cpp
index 11f4e5193e8cb6e8681fd6dd0f1253d8b811a81f..ebfe153c276c593870df422ea5ea0c9ed6cad81a 100644 (file)
@@ -46,7 +46,7 @@ static int config_entry_handler_filter(struct handler_filter_args *args,
        }
 
        if (args->section) {
-               if (strcmp(args->section, section)) {
+               if (strcmp(args->section, section) != 0) {
                        goto end;
                }
        }
This page took 0.022669 seconds and 4 git commands to generate.