clang-tidy: add most bugprone warnings
[lttng-tools.git] / src / common / event-rule / kernel-uprobe.cpp
index 9c4078982a2c9d66de55ec89163747e7ebe62569..6e750576cf1e69040a441c9e61e66f381de8da01 100644 (file)
@@ -123,7 +123,7 @@ static bool lttng_event_rule_kernel_uprobe_is_equal(const struct lttng_event_rul
        /* uprobe is invalid if this is not true. */
        LTTNG_ASSERT(a->name);
        LTTNG_ASSERT(b->name);
-       if (strcmp(a->name, b->name)) {
+       if (strcmp(a->name, b->name) != 0) {
                goto end;
        }
 
This page took 0.022667 seconds and 4 git commands to generate.