mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
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:
parent
124ed4d363
commit
04a637ae64
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,6 @@
|
||||||
# include <sys/wait.h>
|
# include <sys/wait.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const gchar DEFAULT_PAGER[] = "less";
|
|
||||||
|
|
||||||
/* "R" : support color
|
/* "R" : support color
|
||||||
* "X" : do not clear the screen when leaving the pager
|
* "X" : do not clear the screen when leaving the pager
|
||||||
|
@ -52,6 +51,7 @@ static const gchar DEFAULT_PAGER[] = "less";
|
||||||
gboolean colored_output = TRUE;
|
gboolean colored_output = TRUE;
|
||||||
|
|
||||||
#ifdef G_OS_UNIX
|
#ifdef G_OS_UNIX
|
||||||
|
static const gchar DEFAULT_PAGER[] = "less";
|
||||||
GPid child_pid = -1;
|
GPid child_pid = -1;
|
||||||
#endif
|
#endif
|
||||||
GMainLoop *loop = NULL;
|
GMainLoop *loop = NULL;
|
||||||
|
|
Loading…
Reference in a new issue