clang-tidy: enable readability-simplify-boolean-expr and fix

This commit is contained in:
Daniel Agar
2019-10-27 18:18:31 -04:00
parent 279df3b1b8
commit 967446af4c
15 changed files with 53 additions and 93 deletions
+1 -1
View File
@@ -501,7 +501,7 @@ param_value_is_default(param_t param)
param_lock_reader();
s = param_find_changed(param);
param_unlock_reader();
return s ? false : true;
return s == nullptr;
}
bool