From 20ec3c82c1f972a52a4bf9bf66a5f88f7e39b92b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 2 Nov 2022 11:33:48 +0100 Subject: Remove 'unused-but-set' warning. --- src/powerlist.cc | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3