From b7af4205aa26a1486dd64f39812ae1ad2dd72d63 Mon Sep 17 00:00:00 2001 From: He Junyan Date: Fri, 21 Feb 2020 00:58:47 +0800 Subject: [PATCH] test: avoid unused warning for test-display meson -Dwith_x11=yes -Dwith_wayland=no -Dwith_drm=no -Dwith_egl=no -Dwith_glx=no buildir generate unused warnings. --- tests/internal/test-display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/internal/test-display.c b/tests/internal/test-display.c index 068c155a24..e9ec12604a 100644 --- a/tests/internal/test-display.c +++ b/tests/internal/test-display.c @@ -205,7 +205,7 @@ int main (int argc, char *argv[]) { GstVaapiDisplay *display; -#if USE_X11 || USE_WAYLAND +#if USE_GLX || USE_WAYLAND guint width, height; guint par_n, par_d; #endif