From ac35867c17dd0fe5625d500e3284de66a6c8eadc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 Jan 2021 21:55:55 +1100 Subject: [PATCH] AP_Param: fixed valgrind errors with AP_Param::ParamToken --- libraries/AP_Param/AP_Param.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Param/AP_Param.cpp b/libraries/AP_Param/AP_Param.cpp index 74f3a30e17..41d96fb701 100644 --- a/libraries/AP_Param/AP_Param.cpp +++ b/libraries/AP_Param/AP_Param.cpp @@ -2389,7 +2389,7 @@ uint16_t AP_Param::count_parameters(void) _count_marker != _count_marker_done) && limit--) { AP_Param *vp; - AP_Param::ParamToken token; + AP_Param::ParamToken token {}; uint16_t count = 0; uint16_t marker = _count_marker;