From a7647e77d97b9cdfc0923f0f740e8470de2b4580 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 28 Feb 2018 16:25:30 +1100 Subject: [PATCH] AP_Airspeed: fix compiler warnings In file included from ../../libraries/AP_Airspeed/AP_Airspeed_SDP3X.cpp:21: ../../libraries/AP_Airspeed/AP_Airspeed_SDP3X.h:57:11: warning: private field '_temperature' is not used [-Wunused-private-field] float _temperature; ^ ../../libraries/AP_Airspeed/AP_Airspeed_SDP3X.h:58:11: warning: private field '_pressure' is not used [-Wunused-private-field] float _pressure; --- libraries/AP_Airspeed/AP_Airspeed_SDP3X.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/AP_Airspeed/AP_Airspeed_SDP3X.h b/libraries/AP_Airspeed/AP_Airspeed_SDP3X.h index 4873a4bc60..0a4f8ed808 100644 --- a/libraries/AP_Airspeed/AP_Airspeed_SDP3X.h +++ b/libraries/AP_Airspeed/AP_Airspeed_SDP3X.h @@ -54,8 +54,6 @@ private: float _temp; float _press; - float _temperature; - float _pressure; uint16_t _temp_count; uint16_t _press_count; float _temp_sum;