summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2018-06-27 11:47:20 +0200
committerFrediano Ziglio <fziglio@redhat.com>2018-06-27 13:17:51 +0100
commit968ce158f03548e73b45055deccd716a63ba6183 (patch)
tree638d263aded73e0439793325cab00d38591363b2 /tests
parent30ff9c3807c889608cfae3a920e316a168d03e5c (diff)
test-region: Remove unneeded printf
__FUNCTION__ will always be rect_is_valid, and there is a g_assert to check the region is valid, so we will get notified anyway if the validity check fails. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-region.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test-region.c b/tests/test-region.c
index b7f5a22..4e0947e 100644
--- a/tests/test-region.c
+++ b/tests/test-region.c
@@ -62,7 +62,6 @@ static int slow_region_test(const QRegion *rgn, const QRegion *other_rgn, int qu
static int rect_is_valid(const SpiceRect *r)
{
if (r->top > r->bottom || r->left > r->right) {
- printf("%s: invalid rect\n", __FUNCTION__);
return FALSE;
}
return TRUE;