[gst-cvs] gstreamer: parse: fix more compiler warnings
Tim Müller
tpm at kemper.freedesktop.org
Wed Apr 7 11:16:14 PDT 2010
Module: gstreamer
Branch: master
Commit: 189facea5070805b883ca6bc7ebe51d685a25f33
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=189facea5070805b883ca6bc7ebe51d685a25f33
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Wed Apr 7 12:29:52 2010 +0100
parse: fix more compiler warnings
Fix 'grammar.tab.c:815:6: warning: "YYENABLE_NLS" is not defined'
compiler warning and the same for YYLTYPE_IS_TRIVIAL. The two
translated strings aren't particularly helpful, so just define
YYENABLE_NLS to 0.
---
gst/parse/grammar.y | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
index cd900cf..f90d1cd 100644
--- a/gst/parse/grammar.y
+++ b/gst/parse/grammar.y
@@ -28,6 +28,12 @@
#define YYERROR_VERBOSE 1
#define YYLEX_PARAM scanner
+#define YYENABLE_NLS 0
+
+#ifndef YYLTYPE_IS_TRIVIAL
+#define YYLTYPE_IS_TRIVIAL 0
+#endif
+
typedef void* yyscan_t;
int _gst_parse_yylex (void * yylval_param , yyscan_t yyscanner);
More information about the Gstreamer-commits
mailing list