summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Economos <w6rz@comcast.net>2021-01-20 22:29:45 -0800
committerDerek Kozel <derek.kozel@gmail.com>2021-01-21 14:36:26 +0000
commitc40e82ae17a9dfefc95b15ab22eaf8dbf1a45d29 (patch)
tree364d28993082c20afdd800213279c3964ee9008d
parent724a2b9066503581142d64306c232e9a04af373b (diff)
build: Remove clang compiler warnings.
Signed-off-by: Ron Economos <w6rz@comcast.net>
-rw-r--r--gr-filter/include/gnuradio/filter/fft_filter.h6
-rw-r--r--gr-filter/python/filter/bindings/fft_filter_python.cc2
-rw-r--r--gr-qtgui/lib/TimeRasterDisplayPlot.cc3
3 files changed, 4 insertions, 7 deletions
diff --git a/gr-filter/include/gnuradio/filter/fft_filter.h b/gr-filter/include/gnuradio/filter/fft_filter.h
index 31be6f10cd..b4a7d93d2c 100644
--- a/gr-filter/include/gnuradio/filter/fft_filter.h
+++ b/gr-filter/include/gnuradio/filter/fft_filter.h
@@ -60,7 +60,7 @@ private:
int d_ntaps;
int d_nsamples;
int d_fftsize; // fftsize = ntaps + nsamples - 1
- const int d_decimation;
+ int d_decimation;
std::unique_ptr<fft::fft_real_fwd> d_fwdfft; // forward "plan"
std::unique_ptr<fft::fft_real_rev> d_invfft; // inverse "plan"
int d_nthreads; // number of FFTW threads to use
@@ -173,7 +173,7 @@ private:
int d_ntaps;
int d_nsamples;
int d_fftsize; // fftsize = ntaps + nsamples - 1
- const int d_decimation;
+ int d_decimation;
std::unique_ptr<fft::fft_complex_fwd> d_fwdfft; // forward "plan"
std::unique_ptr<fft::fft_complex_rev> d_invfft; // inverse "plan"
int d_nthreads; // number of FFTW threads to use
@@ -286,7 +286,7 @@ private:
int d_ntaps;
int d_nsamples;
int d_fftsize; // fftsize = ntaps + nsamples - 1
- const int d_decimation;
+ int d_decimation;
std::unique_ptr<fft::fft_complex_fwd> d_fwdfft; // forward "plan"
std::unique_ptr<fft::fft_complex_rev> d_invfft; // inverse "plan"
int d_nthreads; // number of FFTW threads to use
diff --git a/gr-filter/python/filter/bindings/fft_filter_python.cc b/gr-filter/python/filter/bindings/fft_filter_python.cc
index 2f24d3c0ef..5c1b49e3a6 100644
--- a/gr-filter/python/filter/bindings/fft_filter_python.cc
+++ b/gr-filter/python/filter/bindings/fft_filter_python.cc
@@ -14,7 +14,7 @@
/* BINDTOOL_GEN_AUTOMATIC(0) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(fft_filter.h) */
-/* BINDTOOL_HEADER_FILE_HASH(69cbae029e98a78bebb18c73fb73366e) */
+/* BINDTOOL_HEADER_FILE_HASH(dad8d136a3842f0e989324232efb2949) */
/***********************************************************************************/
#include <pybind11/complex.h>
diff --git a/gr-qtgui/lib/TimeRasterDisplayPlot.cc b/gr-qtgui/lib/TimeRasterDisplayPlot.cc
index 5eab0aa92a..7ce5652079 100644
--- a/gr-qtgui/lib/TimeRasterDisplayPlot.cc
+++ b/gr-qtgui/lib/TimeRasterDisplayPlot.cc
@@ -146,7 +146,6 @@ public:
d_rows(max_scale),
d_start_value(start_value),
d_end_value(end_value),
- d_max_scale(max_scale),
d_ten_scale(1.0)
{
d_delta_value = d_end_value - d_start_value;
@@ -233,7 +232,6 @@ private:
double d_start_value;
double d_end_value;
double d_delta_value;
- int d_max_scale;
double d_ten_scale;
std::string d_units;
};
@@ -371,7 +369,6 @@ private:
double d_y_start_value;
double d_y_end_value;
double d_y_delta_value;
- int d_max_scale;
};
/*********************************************************************