summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorJosep Torra <jtorra@oblong.com>2017-04-01 16:49:15 +0200
committerJosep Torra <jtorra@oblong.com>2017-04-01 16:49:15 +0200
commit1456c65295be2219baef06e5038d39fec0ec29eb (patch)
tree9c5ef16f769a579170fc718967ceaf12cd02eea8 /gst-libs
parente83573fd8d232a0b6defe99ca4ee28c4cbef0ff8 (diff)
downloadgstreamer-plugins-bad-1456c65295be2219baef06e5038d39fec0ec29eb.tar.gz
glwindow/cocoa: fix warnings reported by XCode 8.1.0
gstglwindow_cocoa.m:345:16: error: unused variable 'window' [-Werror,-Wunused-variable] GstGLWindow *window = GST_GL_WINDOW (window_cocoa); ^ gstglwindow_cocoa.m:445:11: error: unused variable 'external_view' [-Werror,-Wunused-variable] NSView *external_view = (__bridge NSView *)priv->external_view; ^
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
index b7de2b5bc..7bc822a7e 100644
--- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
+++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
@@ -342,7 +342,6 @@ static void
gst_gl_cocoa_draw_cb (GstGLWindowCocoa *window_cocoa)
{
GstGLWindowCocoaPrivate *priv = window_cocoa->priv;
- GstGLWindow *window = GST_GL_WINDOW (window_cocoa);
GstGLNSWindow *internal_win_id = (__bridge GstGLNSWindow *)priv->internal_win_id;
if (internal_win_id && ![internal_win_id isClosed]) {
@@ -442,7 +441,6 @@ gst_gl_window_cocoa_send_message_async (GstGLWindow * window,
window_cocoa = cocoa;
GstGLWindowCocoaPrivate *priv = window_cocoa->priv;
GstGLNSWindow *internal_win_id = (__bridge GstGLNSWindow *)priv->internal_win_id;
- NSView *external_view = (__bridge NSView *)priv->external_view;
self = [super initWithContentRect: contentRect
styleMask: styleMask backing: bufferingType