]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
gst/parse/parse.l: fix for G_DISABLE_ASSERT
authorBenjamin Otte <otte@gnome.org>
Tue, 3 Aug 2004 10:24:39 +0000 (10:24 +0000)
committerBenjamin Otte <otte@gnome.org>
Tue, 3 Aug 2004 10:24:39 +0000 (10:24 +0000)
Original commit message from CVS:
* gst/parse/parse.l:
fix for G_DISABLE_ASSERT

ChangeLog
gst/parse/parse.l

index 4c9cd6d4d6916b316ffc6b6d1b61f65a40fd4cc0..0fd31d34bff4af9bc7306df98a3162bf353e6d3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-03  Benjamin Otte  <otte@gnome.org>
+
+       * gst/parse/parse.l:
+         fix for G_DISABLE_ASSERT
+
 2004-08-03  Wim Taymans  <wim@fluendo.com>
 
        * gst/gstbin.c: (gst_bin_get_type),
index 2411709292895ab71b61419d3fc0dc748c89a235..46ec2518350f8fca7aae2faf1a7930757e351921 100644 (file)
@@ -110,7 +110,8 @@ _link ("!"[[:space:]]*{_caps}([[:space:]]*(";"[[:space:]]*{_caps})*[[:space:]]*)
       while (g_ascii_isspace (*c)) c++;
       c = lvalp->s = gst_parse_strdup (c);
       while (*c) c++;
-      g_assert (*--c == '!');
+      if (*--c != '!')
+       g_assert_not_reached ();
       while (g_ascii_isspace (*--c));
       *++c = '\0';
     } else {