summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-22 12:14:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-07-04 11:17:21 -0400
commit2fb3934923f28ebed678c835866751c1ddf190f6 (patch)
tree80c2bb34fb51d0d7ee26c8f05c1ad8ae94b7fef2
parenta0ac3d8a19bcd7d43c3aa14f0687c991af85a7c5 (diff)
downloadpango-2fb3934923f28ebed678c835866751c1ddf190f6.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);