From 0e78642990355eb3e8b5c63f63671fa1e8af2ef0 Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Mon, 25 May 2015 20:32:21 -0700 Subject: [PATCH] Fix a warning --- src/spek-fft.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/spek-fft.h b/src/spek-fft.h index c3ef247..52b7fdf 100644 --- a/src/spek-fft.h +++ b/src/spek-fft.h @@ -35,7 +35,7 @@ class FFTPlan { public: FFTPlan(int nbits) : - nbits(nbits), input_size(1 << nbits), output_size((1 << (nbits - 1)) + 1), + input_size(1 << nbits), output_size((1 << (nbits - 1)) + 1), input(input_size), output(output_size) {} virtual ~FFTPlan() {} @@ -52,7 +52,6 @@ protected: float *get_input() { return this->input.data(); } private: - int nbits; int input_size; int output_size; std::vector input;