From 7b107cf4907e6e33b754fcb06f454a88c312e984 Mon Sep 17 00:00:00 2001 From: Drzony Date: Fri, 6 Nov 2020 10:11:51 +0100 Subject: [PATCH] Fixed compilation with -Wextra --- src/arduinoFFT.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arduinoFFT.h b/src/arduinoFFT.h index 819d48c..b6523f3 100644 --- a/src/arduinoFFT.h +++ b/src/arduinoFFT.h @@ -435,13 +435,13 @@ private: #endif /* Variables */ + T *_vReal = nullptr; + T *_vImag = nullptr; uint_fast16_t _samples = 0; #ifdef FFT_SPEED_OVER_PRECISION T _oneOverSamples = 0.0; #endif T _samplingFrequency = 0; - T *_vReal = nullptr; - T *_vImag = nullptr; T *_windowWeighingFactors = nullptr; FFTWindow _weighingFactorsFFTWindow; bool _weighingFactorsWithCompensation = false;