diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-10 17:10:42 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-10 17:10:42 +0100 |
commit | d422bfddee23069071a5d911ebca73f6c0b403ed (patch) | |
tree | ce10ee6112d07c4f4fa385797ab5c862666af50d /src | |
parent | 796882bcc5314c0bb095fcad0a6ffa30a6122bae (diff) |
Fix warnings reported by clang.
Diffstat (limited to 'src')
-rw-r--r-- | src/latencyfilter.cc | 2 | ||||
-rw-r--r-- | src/latencyfilter.h | 2 | ||||
-rw-r--r-- | src/powerlist.cc | 2 |
3 files changed, 2 insertions, 4 deletions
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) { |