From d222f6e664823090263144daa932e03d9e8e28b1 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 12 Sep 2015 10:52:07 +0200 Subject: [PATCH] EKF: Remove unused error variable --- .../ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp index d89eab5299..17f7264a58 100644 --- a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp +++ b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp @@ -105,12 +105,6 @@ uint64_t getMicros() namespace estimator { -/* oddly, ERROR is not defined for c++ */ -#ifdef ERROR -# undef ERROR -#endif -static const int ERROR = -1; - AttitudePositionEstimatorEKF *g_estimator = nullptr; }