mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
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; ^
This commit is contained in:
parent
e83573fd8d
commit
1456c65295
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue