From 60805b62cf06aaa8667ce1c2bd6a184b40c49450 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 27 Jul 2017 12:20:29 +0100 Subject: tests: Fix unused variable in CVE-2015-4491 test --- tests/cve-2015-4491.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cve-2015-4491.c b/tests/cve-2015-4491.c index f5454d0a7..a1d9431ba 100644 --- a/tests/cve-2015-4491.c +++ b/tests/cve-2015-4491.c @@ -32,6 +32,7 @@ test_original (void) buf = gdk_pixbuf_new_from_resource_at_scale ("/test/resource/cve-2015-4491.bmp", size, size, FALSE, &err); /* Image is corrupt because the rowstride * height mul overflows */ g_assert_error (err, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE); + g_assert_null (buf); } static void -- cgit v1.2.1