[vlc-commits] macosx: Move diagnostic ignore in VLCFSPanelController

Marvin Scholz git at videolan.org
Wed Dec 21 22:01:31 CET 2016


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Dec 21 22:01:12 2016 +0100| [634cd2e0e3d26237c47a11d752ec16e312ddc491] | committer: Marvin Scholz

macosx: Move diagnostic ignore in VLCFSPanelController

This moves the partial availability ignore to a better position.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=634cd2e0e3d26237c47a11d752ec16e312ddc491
---

 modules/gui/macosx/VLCFSPanelController.m | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/VLCFSPanelController.m b/modules/gui/macosx/VLCFSPanelController.m
index 7f5d21a..e93347d 100644
--- a/modules/gui/macosx/VLCFSPanelController.m
+++ b/modules/gui/macosx/VLCFSPanelController.m
@@ -376,6 +376,9 @@
 #pragma mark Helpers
 
 #ifdef MAC_OS_X_VERSION_10_10
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wpartial-availability"
+
 /**
  Create an image mask for the NSVisualEffectView
  with rounded corners in the given rect
@@ -389,8 +392,6 @@
  
  \param bounds  The rect for the image size
  */
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wpartial-availability"
 - (NSImage *)maskImageWithBounds:(NSRect)bounds
 {
     static const float radius = 8.0;



More information about the vlc-commits mailing list