gst-inspect: fix unused-const-variable error in windows

../tools/gst-inspect.c:44:20: error: 'DEFAULT_PAGER' defined but not used [-Werror=unused-const-variable=]
This commit is contained in:
Andoni Morales Alastruey 2019-04-24 18:22:06 +02:00 committed by Tim-Philipp Müller
parent 124ed4d363
commit 04a637ae64

View file

@ -41,7 +41,6 @@
# include <sys/wait.h>
#endif
static const gchar DEFAULT_PAGER[] = "less";
/* "R" : support color
* "X" : do not clear the screen when leaving the pager
@ -52,6 +51,7 @@ static const gchar DEFAULT_PAGER[] = "less";
gboolean colored_output = TRUE;
#ifdef G_OS_UNIX
static const gchar DEFAULT_PAGER[] = "less";
GPid child_pid = -1;
#endif
GMainLoop *loop = NULL;