[Spice-devel] [spice-common v3 4/6] test-region: Remove unneeded printf
Christophe Fergeau
cfergeau at redhat.com
Wed Jun 27 09:47:20 UTC 2018
__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 at redhat.com>
---
tests/test-region.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/test-region.c b/tests/test-region.c
index a5a5351..12fdfce 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;
--
2.17.1
More information about the Spice-devel
mailing list