From ab413313efb89e0efbd7c271f67b6324628d53bd Mon Sep 17 00:00:00 2001 From: planetmaker Date: Wed, 15 Dec 2010 01:30:13 +0000 Subject: [PATCH] (svn r21522) -Fix: [OSX] Silence a warning when compiling without quartz and quickdraw --- src/video/cocoa/cocoa_v.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index 61dfd7ce20..793e1b206a 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -204,7 +204,9 @@ void QZ_GameSizeChanged() static CocoaSubdriver *QZ_CreateWindowSubdriver(int width, int height, int bpp) { +#if defined(ENABLE_COCOA_QUARTZ) || defined(ENABLE_COCOA_QUICKDRAW) CocoaSubdriver *ret; +#endif #ifdef ENABLE_COCOA_QUARTZ #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4