[pango/pango2-color-palette: 27/71] Remove an erroneous assertion




commit 2fb3934923f28ebed678c835866751c1ddf190f6
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]