build: no unused variables when disabling asserts
authorStefan Kost <ensonic@users.sf.net>
Fri, 22 Jan 2010 14:48:01 +0000 (16:48 +0200)
committerStefan Kost <ensonic@users.sf.net>
Fri, 22 Jan 2010 14:48:01 +0000 (16:48 +0200)
tests/icles/ximagesrc-test.c

index 7af0e68..f51913a 100644 (file)
@@ -38,7 +38,9 @@ main (int argc, char **argv)
 {
   GstElement *pipeline;
   GstBus *bus;
+#ifndef G_DISABLE_ASSERT
   GstState state, pending;
+#endif
   GError *error = NULL;
 
   gst_init (&argc, &argv);