change 'expr == true' to 'expr' in conditionals

This commit is contained in:
Evan Hunt
2020-03-30 13:47:58 -07:00
parent 1093c36648
commit 68a1c9d679
29 changed files with 92 additions and 97 deletions

View File

@@ -94,8 +94,7 @@ run_sfcache_test(const ns__query_sfcache_test_params_t *test) {
REQUIRE(test != NULL);
REQUIRE(test->id.description != NULL);
REQUIRE(test->cache_entry_present == true ||
test->cache_entry_flags == 0);
REQUIRE(test->cache_entry_present || test->cache_entry_flags == 0);
/*
* Interrupt execution if ns_query_done() is called.