clang-tidy: add readability-simplify-boolean-expr
[lttng-tools.git] / tests / unit / test_relayd_backward_compat_group_by_session.cpp
index 11ba8b032ed5207cbc8f0d58812a1e68c282a27d..527d41ac920041bc0c8631f137aa0d70be442878 100644 (file)
@@ -201,7 +201,7 @@ int main()
                if (!result && tests[i].is_valid) {
                        fprintf(stderr, "Failed to get result\n");
                        goto loop;
-               } else if (!result && tests[i].is_valid == false) {
+               } else if (!result && !tests[i].is_valid) {
                        pass("Returned null as expected");
                        goto loop;
                }
This page took 0.022473 seconds and 4 git commands to generate.