Commit fc539f61 authored by Matthew Waters's avatar Matthew Waters 🐨

glwindow/cocoa: silence unused-variable warning

We are using ARC to cleanup after ourselves.

../gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m:159:20: error: unused variable 'queue' [-Werror,-Wunused-variable]
  dispatch_queue_t queue = (__bridge_transfer dispatch_queue_t) window->priv->gl_queue;
                   ^
parent 8b72e4b2
......@@ -157,6 +157,7 @@ gst_gl_window_cocoa_finalize (GObject * object)
#if OS_OBJECT_USE_OBJC
/* Let ARC clean up our queue */
dispatch_queue_t queue = (__bridge_transfer dispatch_queue_t) window->priv->gl_queue;
(void) queue;
#else
dispatch_release (window->priv->gl_queue);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment