mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 05:50:35 +08:00
clang-tidy: enable readability-simplify-boolean-expr and fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user