tests: display: guard possible unused variables

https://bugzilla.gnome.org/show_bug.cgi?id=765702
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-04-29 12:53:06 +02:00
parent 74ebee5339
commit 3fcfd40fb5

View file

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