parse/grammar.y: remove unused ERROR define
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 19 Nov 2009 12:59:28 +0000 (12:59 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 19 Nov 2009 13:05:13 +0000 (13:05 +0000)
gst/parse/grammar.y

index a6703bf..00d0e9d 100644 (file)
@@ -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