clang-tidy: add most bugprone warnings
[lttng-tools.git] / src / common / event-rule / kernel-kprobe.cpp
index 712136ebdbce453a80e02389cd29510732b2882e..bae7bdfa78380ac0e224cffae54ca77aee58d4a0 100644 (file)
@@ -138,7 +138,7 @@ static bool lttng_event_rule_kernel_kprobe_is_equal(const struct lttng_event_rul
        /* Long check */
        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.02322 seconds and 4 git commands to generate.