tests: display: guard possible unused variables

https://bugzilla.gnome.org/show_bug.cgi?id=765702
parent 74ebee53
......@@ -268,8 +268,14 @@ dump_info (GstVaapiDisplay * display)
int
main (int argc, char *argv[])
{
GstVaapiDisplay *display, *display2;
guint width, height, par_n, par_d;
GstVaapiDisplay *display;
#if USE_X11
GstVaapiDisplay *display2;
#endif
#if USE_X11 || USE_WAYLAND
guint width, height;
guint par_n, par_d;
#endif
gst_init (&argc, &argv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment