summaryrefslogtreecommitdiff
path: root/gst/parse/grammar.y
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-11-19 12:59:28 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-11-19 13:05:13 +0000
commitc8c893c30e2023b922290ed0522e8036879cc02f (patch)
tree83b8ec4fcc02f09b46ec88fb2bd9da2cea910e2f /gst/parse/grammar.y
parent3ee391fa17da18e60b12e60729a27cd6a165b39d (diff)
downloadgstreamer-c8c893c30e2023b922290ed0522e8036879cc02f.tar.gz
parse/grammar.y: remove unused ERROR define
Diffstat (limited to 'gst/parse/grammar.y')
-rw-r--r--gst/parse/grammar.y8
1 files changed, 1 insertions, 7 deletions
diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
index a6703bf07e..00d0e9dc85 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