From 1a46ef2a821a2becb60e1790e7277b7c970a32b1 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Thu, 7 Feb 2019 14:20:53 +0100 Subject: [PATCH] Fixed unused variable warnings. --- uwac/libuwac/uwac-window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uwac/libuwac/uwac-window.c b/uwac/libuwac/uwac-window.c index 1c1955e30..41fa10dc7 100644 --- a/uwac/libuwac/uwac-window.c +++ b/uwac/libuwac/uwac-window.c @@ -597,11 +597,13 @@ static const struct wl_callback_listener frame_listener = static void UwacSubmitBufferPtr(UwacWindow* window, UwacBuffer* buffer) { +#if 0 UINT32 nrects, i; #ifdef HAVE_PIXMAN_REGION const pixman_box32_t* box; #else const RECTANGLE_16* box; +#endif #endif wl_surface_attach(window->surface, buffer->wayland_buffer, 0, 0); #if 0