From d94e77712d859e6ef28738218e4bc28abe4efe89 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 21 May 2024 08:49:29 +1000 Subject: [PATCH] AC_WPNav: remove un-needed initialisation --- libraries/AC_WPNav/AC_Circle.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libraries/AC_WPNav/AC_Circle.cpp b/libraries/AC_WPNav/AC_Circle.cpp index b1f88a40947f3..d5ed82397b62b 100644 --- a/libraries/AC_WPNav/AC_Circle.cpp +++ b/libraries/AC_WPNav/AC_Circle.cpp @@ -43,13 +43,7 @@ const AP_Param::GroupInfo AC_Circle::var_info[] = { AC_Circle::AC_Circle(const AP_InertialNav& inav, const AP_AHRS_View& ahrs, AC_PosControl& pos_control) : _inav(inav), _ahrs(ahrs), - _pos_control(pos_control), - _yaw(0.0f), - _angle(0.0f), - _angle_total(0.0f), - _angular_vel(0.0f), - _angular_vel_max(0.0f), - _angular_accel(0.0f) + _pos_control(pos_control) { AP_Param::setup_object_defaults(this, var_info);