projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21a02e7
)
gst-inspect: fix unused-const-variable error in windows
author
Andoni Morales Alastruey
<ylatuya@gmail.com>
Wed, 24 Apr 2019 16:22:06 +0000
(18:22 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 24 Apr 2019 16:34:08 +0000
(16:34 +0000)
../tools/gst-inspect.c:44:20: error: 'DEFAULT_PAGER' defined but not used [-Werror=unused-const-variable=]
tools/gst-inspect.c
patch
|
blob
|
history
diff --git
a/tools/gst-inspect.c
b/tools/gst-inspect.c
index 03c9467c5e1b8a62e038df958e2f0377e4158ed6..1b5ed83f899c9c9165555602a99246f65da20503 100644
(file)
--- a/
tools/gst-inspect.c
+++ b/
tools/gst-inspect.c
@@
-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;