Commit 38d535ff authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey Committed by Tim-Philipp Müller

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=]
parent 21a02e76
......@@ -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;
......
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