[gst-cvs] gstreamer: parse/grammar.y: remove unused ERROR define
Tim Mueller
tpm at kemper.freedesktop.org
Thu Nov 19 05:05:40 PST 2009
Module: gstreamer
Branch: master
Commit: c8c893c30e2023b922290ed0522e8036879cc02f
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=c8c893c30e2023b922290ed0522e8036879cc02f
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Thu Nov 19 12:59:28 2009 +0000
parse/grammar.y: remove unused ERROR define
---
gst/parse/grammar.y | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
index a6703bf..00d0e9d 100644
--- a/gst/parse/grammar.y
+++ b/gst/parse/grammar.y
@@ -113,7 +113,7 @@ typedef struct {
gulong signal_id;
} DelayedSet;
-/*** define SET_ERROR and ERROR macros/functions */
+/*** define SET_ERROR macro/function */
#ifdef G_HAVE_ISO_VARARGS
@@ -125,9 +125,6 @@ G_STMT_START { \
} \
} G_STMT_END
-# define ERROR(type, ...) \
- SET_ERROR (graph->error, (type), __VA_ARGS__ )
-
#elif defined(G_HAVE_GNUC_VARARGS)
# define SET_ERROR(error, type, args...) \
@@ -138,9 +135,6 @@ G_STMT_START { \
} \
} G_STMT_END
-# define ERROR(type, args...) \
- SET_ERROR (graph->error,(type) , args )
-
#else
static inline void
More information about the Gstreamer-commits
mailing list