From d422bfddee23069071a5d911ebca73f6c0b403ed Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 10 Dec 2016 17:10:42 +0100 Subject: Fix warnings reported by clang. --- src/latencyfilter.cc | 2 +- src/latencyfilter.h | 2 +- src/powerlist.cc | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/latencyfilter.cc b/src/latencyfilter.cc index b3ef44d..d83eab6 100644 --- a/src/latencyfilter.cc +++ b/src/latencyfilter.cc @@ -27,7 +27,7 @@ #include "latencyfilter.h" LatencyFilter::LatencyFilter(Settings& settings) - : settings(settings) + //: settings(settings) { } diff --git a/src/latencyfilter.h b/src/latencyfilter.h index bf4002e..e34b050 100644 --- a/src/latencyfilter.h +++ b/src/latencyfilter.h @@ -41,5 +41,5 @@ public: std::size_t getLatency() const override; private: - Settings& settings; + //Settings& settings; }; diff --git a/src/powerlist.cc b/src/powerlist.cc index 94a63fa..9b0bd77 100644 --- a/src/powerlist.cc +++ b/src/powerlist.cc @@ -50,8 +50,6 @@ unsigned int const MIN_SAMPLE_SET_SIZE = 26u; //#define AUTO_CALCULATE_POWER unsigned int const SIZE = 500u; -float const THRES = 1.f; - PowerList::PowerList(Random& rand) : rand(rand) { -- cgit v1.2.3