summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-10 17:10:42 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-10 17:10:42 +0100
commitd422bfddee23069071a5d911ebca73f6c0b403ed (patch)
treece10ee6112d07c4f4fa385797ab5c862666af50d /src
parent796882bcc5314c0bb095fcad0a6ffa30a6122bae (diff)
Fix warnings reported by clang.
Diffstat (limited to 'src')
-rw-r--r--src/latencyfilter.cc2
-rw-r--r--src/latencyfilter.h2
-rw-r--r--src/powerlist.cc2
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)
{