From 38d535ff846d1a0fffe6c4de8aae2143cd88e3ad Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Wed, 24 Apr 2019 18:22:06 +0200 Subject: [PATCH] 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=] --- tools/gst-inspect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 03c9467c5e..1b5ed83f89 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -41,7 +41,6 @@ # include #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;