forked from Archive/PX4-Autopilot
clang-tidy: enable readability-redundant-control-flow and fix
This commit is contained in:
parent
6f1f5e0325
commit
6f1e132286
|
@ -94,7 +94,6 @@ Checks: '*,
|
|||
-readability-named-parameter,
|
||||
-readability-non-const-parameter,
|
||||
-readability-redundant-declaration,
|
||||
-readability-redundant-control-flow,
|
||||
-readability-static-accessed-through-instance,
|
||||
-readability-static-definition-in-anonymous-namespace,
|
||||
'
|
||||
|
|
|
@ -302,9 +302,6 @@ RoverPositionControl::control_velocity(const matrix::Vector3f ¤t_velocity,
|
|||
_act_controls.control[actuator_controls_s::INDEX_YAW] = 0.0f;
|
||||
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue