From ff97bdd605eb1940ff27b8c28a0a4dc06a35e06a Mon Sep 17 00:00:00 2001 From: Grant Morphett Date: Wed, 29 Jul 2015 17:22:25 +1000 Subject: [PATCH] AP_Baro: coverity fixes - add param init in constructor --- libraries/AP_Baro/AP_Baro_MS5611.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Baro/AP_Baro_MS5611.cpp b/libraries/AP_Baro/AP_Baro_MS5611.cpp index c40a725e47..f71e882ede 100644 --- a/libraries/AP_Baro/AP_Baro_MS5611.cpp +++ b/libraries/AP_Baro/AP_Baro_MS5611.cpp @@ -161,7 +161,9 @@ AP_Baro_MS56XX::AP_Baro_MS56XX(AP_Baro &baro, AP_SerialBus *serial, bool use_tim _updated(false), _state(0), _last_timer(0), - _use_timer(use_timer) + _use_timer(use_timer), + _D1(0.0f), + _D2(0.0f) { _instance = _frontend.register_sensor(); _serial->init();