[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-cvs
Subject: gst-plugins-bad: gl: Fix compiler warning
From: slomo () kemper ! freedesktop ! org (Sebastian Dröge)
Date: 2015-05-31 19:31:04
Message-ID: 20150531193104.9FBFE761E9 () kemper ! freedesktop ! org
[Download RAW message or body]
Module: gst-plugins-bad
Branch: master
Commit: 5b0c3ac1534b0e76218910e8230b3733ebb94d7e
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=5b0c3ac1534b0e76218910e8230b3733ebb94d7e
Author: Sebastian Dröge <sebastian@centricular.com>
Date: Sun May 31 21:30:23 2015 +0200
gl: Fix compiler warning
gstglwindow_wayland_egl.c:246:41: error: unused variable 'surface_listener' \
[-Werror,-Wunused-const-variable] static const struct wl_surface_listener \
surface_listener = { ^
---
gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c \
b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c index a8e3422..3cf2cca 100644
--- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
+++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
@@ -232,23 +232,6 @@ static const struct wl_shell_surface_listener \
shell_surface_listener = { };
static void
-surface_handle_enter (void *data, struct wl_surface *wl_surface,
- struct wl_output *output)
-{
-}
-
-static void
-surface_handle_leave (void *data, struct wl_surface *wl_surface,
- struct wl_output *output)
-{
-}
-
-static const struct wl_surface_listener surface_listener = {
- surface_handle_enter,
- surface_handle_leave
-};
-
-static void
destroy_surfaces (GstGLWindowWaylandEGL * window_egl)
{
if (window_egl->window.subsurface) {
[Attachment #3 (text/plain)]
_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic