summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/boxes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/boxes.c b/src/core/boxes.c
index 19dd939e..7ae5f699 100644
--- a/src/core/boxes.c
+++ b/src/core/boxes.c
@@ -472,6 +472,9 @@ merge_spanning_rects_in_region (GList *region)
a = compare->data;
}
+ /* avoid false positive warning in Clang static analyzer */
+ g_assert (a != delete_me->data);
+
/* Okay, we can free it now */
g_free (delete_me->data);
region = g_list_delete_link (region, delete_me);