Fixed unused variable warnings.
authorArmin Novak <armin.novak@thincast.com>
Thu, 7 Feb 2019 13:20:53 +0000 (14:20 +0100)
committerArmin Novak <armin.novak@thincast.com>
Fri, 5 Apr 2019 07:13:24 +0000 (09:13 +0200)
uwac/libuwac/uwac-window.c

index 1c1955e..41fa10d 100644 (file)
@@ -597,12 +597,14 @@ 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
 #ifdef HAVE_PIXMAN_REGION