summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-11-02 11:33:48 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2022-11-02 11:33:48 +0100
commit20ec3c82c1f972a52a4bf9bf66a5f88f7e39b92b (patch)
tree5494564e2f66bdcde3b2755df785967827d768b3 /src
parent22c6274747b77fed635879bb0fc4a503050a9eea (diff)
Remove 'unused-but-set' warning.
Diffstat (limited to 'src')
-rw-r--r--src/powerlist.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/powerlist.cc b/src/powerlist.cc
index 23d9795..8dd0b24 100644
--- a/src/powerlist.cc
+++ b/src/powerlist.cc
@@ -84,6 +84,7 @@ const Channel* PowerList::getMasterChannel()
af->load(nullptr, LOAD_SIZE);
float silence{0.f};
+ (void)silence;
std::size_t silence_length{4u};
for (auto s = af->size; s > 0 && s > af->size - silence_length; --s)
{