From e09d11c7acf768a40adb156c5a32fffb53231432 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 8 Aug 2018 08:07:59 +0200 Subject: [PATCH] silence warning about unused var in SDK < 10.14 --- src/osx/carbon/utilscocoa.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osx/carbon/utilscocoa.mm b/src/osx/carbon/utilscocoa.mm index 22305a4c91..a492649cb2 100644 --- a/src/osx/carbon/utilscocoa.mm +++ b/src/osx/carbon/utilscocoa.mm @@ -597,6 +597,8 @@ wxOSXEffectiveAppearanceSetter::wxOSXEffectiveAppearanceSetter() formerAppearance = NSAppearance.currentAppearance; NSAppearance.currentAppearance = NSApp.effectiveAppearance; } +#else + wxUnusedVar(formerAppearance); #endif }