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.
This commit is contained in:
He Junyan 2020-02-21 00:58:47 +08:00 committed by GStreamer Merge Bot
parent 7e7ab6e1f8
commit b7af4205aa

View file

@ -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