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

(cherry picked from commit 68a1c9d679)
This commit is contained in:
Evan Hunt
2020-03-30 13:47:58 -07:00
parent be88fb1aa7
commit 00c816778d
29 changed files with 89 additions and 94 deletions

View File

@@ -95,8 +95,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.