[pango/pango2] Remove an erroneous assertion



commit 76f5f1dad4dbe6e3f2d75e7126ba663b557e7bf7
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jun 22 12:14:12 2022 -0400

    Remove an erroneous assertion

 tests/testattributes.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/tests/testattributes.c b/tests/testattributes.c
index 136d84455..6e07a087e 100644
--- a/tests/testattributes.c
+++ b/tests/testattributes.c
@@ -123,8 +123,8 @@ test_attributes_register (void)
   PangoAttrType type;
   PangoAttribute *attr;
   PangoAttribute *attr2;
-  gboolean ret;
   PangoAttrList *list;
+  gboolean ret;
   char *str;
 
   type = pango_attr_type_register ("my-attribute",
@@ -140,7 +140,6 @@ test_attributes_register (void)
 
   attr = pango_attribute_new (type, (gpointer)0x42);
 
-  g_assert_true (ret);
   g_assert_true (pango_attribute_get_pointer (attr) == (gpointer)0x42);
 
   attr2 = pango_attribute_new (type, (gpointer)0x43);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]