clang-tidy: add most bugprone warnings
[lttng-tools.git] / src / bin / lttng-sessiond / main.cpp
index 01633390522d6ecec7f2c265155663d48fcd7ea9..cc32856198c3de9f0aac3c7bda84caf1d5b89564 100644 (file)
@@ -791,7 +791,7 @@ static int config_entry_handler(const struct config_entry *entry,
 
        for (i = 0; i < (sizeof(long_options) / sizeof(struct option)) - 1; i++) {
                /* Ignore if not fully matched. */
-               if (strcmp(entry->name, long_options[i].name)) {
+               if (strcmp(entry->name, long_options[i].name) != 0) {
                        continue;
                }
 
This page took 0.022742 seconds and 4 git commands to generate.