summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-22 12:14:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-06-22 13:57:26 -0400
commit8c6c510d0002e1c97f9a96e503d9a951b9b1b610 (patch)
tree8fe45b9f6b4606a47735a5ab17b21509bbb9b4bf
parentd70e5bbef9d226bf49e6fe7eccf22997ae712c20 (diff)
downloadpango-8c6c510d0002e1c97f9a96e503d9a951b9b1b610.tar.gz
Remove an erroneous assertion
-rw-r--r--tests/testattributes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testattributes.c b/tests/testattributes.c
index 136d8445..6e07a087 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);