gl: x11: fix compiler warning
authorTim-Philipp Müller <tim@centricular.com>
Sun, 21 May 2017 10:44:37 +0000 (11:44 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 21 May 2017 10:44:37 +0000 (11:44 +0100)
gst-libs/gst/gl/x11/gstglwindow_x11.c

index 63bc0e8..1b3ca4c 100644 (file)
@@ -355,8 +355,6 @@ gst_gl_window_x11_show (GstGLWindow * window)
 static void
 _context_draw (GstGLContext * context, GstGLWindow * window)
 {
-  GstGLContextClass *context_class = GST_GL_CONTEXT_GET_CLASS (context);
-
   window->draw (window->draw_data);
   gst_gl_context_swap_buffers (context);