From 4b17e720ae45906781bf32d0aa8e83c964734d16 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 22 Oct 2025 15:22:54 -0600 Subject: [PATCH] remove unused variable --- libs/ardour/triggerbox.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 4037f19a3d..79cc2e4e7d 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -1255,8 +1255,6 @@ Trigger::when_stopped_during_run (BufferSet& bufs, pframes_t dest_offset) } else { - State old_state = _state; - if ((launch_style() != Repeat) && (launch_style() != Gate) && (_loop_cnt == _follow_count)) { /* have played the specified number of times, we're done */