Fix the assert to not always trigger. (#326558, Daichi Kawahata)
authorMatthias Clasen <mclasen@redhat.com>
Thu, 12 Jan 2006 20:27:16 +0000 (20:27 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 12 Jan 2006 20:27:16 +0000 (20:27 +0000)
2006-01-12  Matthias Clasen  <mclasen@redhat.com>

* tests/asyncqueue-test.c (main): Fix the
assert to not always trigger.  (#326558,
Daichi Kawahata)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
tests/asyncqueue-test.c

index bdca69cf9dd6edf66565c7ece799bd0755c21202..44b64621dbe1d5d0cd494a8991854652e7e72007 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/asyncqueue-test.c (main): Fix the
+       assert to not always trigger.  (#326558, 
+       Daichi Kawahata)
+
 2006-01-11  Matthias Clasen  <mclasen@redhat.com>
 
        * tests/convert-test.c: Don't test items_read and
index bdca69cf9dd6edf66565c7ece799bd0755c21202..44b64621dbe1d5d0cd494a8991854652e7e72007 100644 (file)
@@ -1,3 +1,9 @@
+2006-01-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/asyncqueue-test.c (main): Fix the
+       assert to not always trigger.  (#326558, 
+       Daichi Kawahata)
+
 2006-01-11  Matthias Clasen  <mclasen@redhat.com>
 
        * tests/convert-test.c: Don't test items_read and
index bdca69cf9dd6edf66565c7ece799bd0755c21202..44b64621dbe1d5d0cd494a8991854652e7e72007 100644 (file)
@@ -1,3 +1,9 @@
+2006-01-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/asyncqueue-test.c (main): Fix the
+       assert to not always trigger.  (#326558, 
+       Daichi Kawahata)
+
 2006-01-11  Matthias Clasen  <mclasen@redhat.com>
 
        * tests/convert-test.c: Don't test items_read and
index 8dbe94bfd2b0dd850b3d052aaa9c092cb1c5677c..b8f2ad1ce6dc91d552ce19f33dadcbf2e816c115 100644 (file)
@@ -154,9 +154,7 @@ int main (int argc, char *argv[])
   
     g_thread_pool_push (thread_pool, GINT_TO_POINTER (i), &error);
     
-    if (!error) {
-      g_assert_not_reached ();
-    }
+    g_assert (error == NULL);
   }
 
   if (!SORT_QUEUE_AFTER) {