From deae885df46ea1a39b674092ac3247b2642987ef Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 17 Feb 2016 16:24:39 +0000 Subject: [PATCH] Avoided a warning in OSX when core graphics is disabled --- modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm index e61568dd6a..69846cf666 100644 --- a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm +++ b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm @@ -531,6 +531,8 @@ public: usingCoreGraphics = index > 0; [view setNeedsDisplay: true]; } + #else + ignoreUnused (index); #endif }