From 5e30be66aaa134f89a0290033614c1e84c59a770 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 3 Jul 2021 23:39:34 +0100 Subject: [PATCH] Quiet unused variable warning on Mac. --- common/widgets/gal_options_panel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/widgets/gal_options_panel.cpp b/common/widgets/gal_options_panel.cpp index f34221103a..622f8f655c 100644 --- a/common/widgets/gal_options_panel.cpp +++ b/common/widgets/gal_options_panel.cpp @@ -218,6 +218,8 @@ bool GAL_OPTIONS_PANEL::TransferDataToWindow() m_renderingEngine->SetSelection( 0 ); else m_renderingEngine->SetSelection( 1 ); +#else + (void) m_drawFrame; // Quiet unused variable warning #endif m_gridSnapOptions->SetSelection( UTIL::GetConfigForVal( gridSnapConfigVals,