From c03c3dd91825b00d8e6a053fb0f22c12e4bdd3cc Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 10 Oct 2024 22:17:43 -0600 Subject: [PATCH] fix unused variable warning from clang --- libs/surfaces/push2/mix.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/surfaces/push2/mix.cc b/libs/surfaces/push2/mix.cc index b75ea108b0..2990a1c90b 100644 --- a/libs/surfaces/push2/mix.cc +++ b/libs/surfaces/push2/mix.cc @@ -543,13 +543,9 @@ MixLayout::switch_bank (uint32_t base) /* work backwards so we can tell if we should actually switch banks */ std::shared_ptr s[8]; - uint32_t different = 0; for (int n = 0; n < 8; ++n) { s[n] = _session.get_remote_nth_stripable (base+n, PresentationInfo::Flag (PresentationInfo::Route|PresentationInfo::VCA)); - if (s[n] != _stripable[n]) { - different++; - } } if (!s[0]) {