summaryrefslogtreecommitdiffhomepage
path: root/filter-accela
diff options
context:
space:
mode:
Diffstat (limited to 'filter-accela')
-rw-r--r--filter-accela/ftnoir_filter_accela.cpp2
-rw-r--r--filter-accela/ftnoir_filter_accela.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/filter-accela/ftnoir_filter_accela.cpp b/filter-accela/ftnoir_filter_accela.cpp
index 7bddec1c..15e2edfb 100644
--- a/filter-accela/ftnoir_filter_accela.cpp
+++ b/filter-accela/ftnoir_filter_accela.cpp
@@ -15,7 +15,7 @@
#include "compat/math-imports.hpp"
#include "compat/time.hpp"
-accela::accela() : first_run(true)
+accela::accela()
{
s.make_splines(spline_rot, spline_pos);
}
diff --git a/filter-accela/ftnoir_filter_accela.h b/filter-accela/ftnoir_filter_accela.h
index 40ba82ba..a3f93756 100644
--- a/filter-accela/ftnoir_filter_accela.h
+++ b/filter-accela/ftnoir_filter_accela.h
@@ -27,14 +27,14 @@ public:
module_status initialize() override { return status_ok(); }
private:
settings_accela s;
- double last_output[6], deltas[6];
+ double last_output[6] {}, deltas[6] {};
Timer t;
#if defined DEBUG_ACCELA
Timer debug_timer;
double debug_max;
variance var;
#endif
- bool first_run;
+ bool first_run = true;
};
class dialog_accela : public IFilterDialog