From 0b9a54ac324eed232f0635bd3eeea94a0b1eb4e3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 17 Aug 2023 21:16:21 -0600 Subject: [PATCH] fix scope of a char* [] buffer --- gtk2_ardour/editor_actions.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 2190582e4f..6488f27dd3 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -1180,6 +1180,7 @@ Editor::draw_channel_action (int c) { char buf[64]; const char* action = 0; + char buf[64]; RefPtr act; if (c==DRAW_CHAN_AUTO) {