clang-tidy: add most bugprone warnings
[lttng-tools.git] / src / common / actions / start-session.cpp
index aed2938c6394f3e83f10564421447747a86ff3ef..1004290fe9a94020b84934070637e9e3b9484233 100644 (file)
@@ -96,7 +96,7 @@ static bool lttng_action_start_session_is_equal(const struct lttng_action *_a,
        /* Action is not valid if this is not true. */
        LTTNG_ASSERT(a->session_name);
        LTTNG_ASSERT(b->session_name);
-       if (strcmp(a->session_name, b->session_name)) {
+       if (strcmp(a->session_name, b->session_name) != 0) {
                goto end;
        }
 
This page took 0.023331 seconds and 4 git commands to generate.