mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 14:48:28 -04:00
AP_Param: fixed valgrind errors with AP_Param::ParamToken
This commit is contained in:
parent
12b93e2922
commit
ac35867c17
@ -2389,7 +2389,7 @@ uint16_t AP_Param::count_parameters(void)
|
|||||||
_count_marker != _count_marker_done) &&
|
_count_marker != _count_marker_done) &&
|
||||||
limit--) {
|
limit--) {
|
||||||
AP_Param *vp;
|
AP_Param *vp;
|
||||||
AP_Param::ParamToken token;
|
AP_Param::ParamToken token {};
|
||||||
uint16_t count = 0;
|
uint16_t count = 0;
|
||||||
uint16_t marker = _count_marker;
|
uint16_t marker = _count_marker;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user