Fixed unused variable warnings.

This commit is contained in:
Armin Novak 2019-02-07 14:20:53 +01:00
parent f4de82c242
commit 1a46ef2a82

View File

@ -597,11 +597,13 @@ static const struct wl_callback_listener frame_listener =
static void UwacSubmitBufferPtr(UwacWindow* window, UwacBuffer* buffer) static void UwacSubmitBufferPtr(UwacWindow* window, UwacBuffer* buffer)
{ {
#if 0
UINT32 nrects, i; UINT32 nrects, i;
#ifdef HAVE_PIXMAN_REGION #ifdef HAVE_PIXMAN_REGION
const pixman_box32_t* box; const pixman_box32_t* box;
#else #else
const RECTANGLE_16* box; const RECTANGLE_16* box;
#endif
#endif #endif
wl_surface_attach(window->surface, buffer->wayland_buffer, 0, 0); wl_surface_attach(window->surface, buffer->wayland_buffer, 0, 0);
#if 0 #if 0