[cairo-commit] test/sample.c

Chris Wilson ickle at kemper.freedesktop.org
Fri Jun 7 23:56:15 PDT 2013


 test/sample.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5271f3199107f50f65608f3816c840da7445fb55
Author: Bryce W. Harrington <b.harrington at samsung.com>
Date:   Sat Jun 8 01:42:20 2013 +0000

    test: Fix typo in sample_horizontal to use horizontal, not vertical.
    
    Triggers the following warning during build:
    
    sample.c:61:1: warning: ‘horizontal’ defined but not used
     [-Wunused-function]
    
    Signed-off-by: Bryce Harrington <b.harrington at samsung.com>

diff --git a/test/sample.c b/test/sample.c
index da2dcf2..caf6877 100644
--- a/test/sample.c
+++ b/test/sample.c
@@ -107,7 +107,7 @@ CAIRO_TEST (sample_horizontal,
 	    NULL, /* keywords */
 	    "target=raster slow", /* requirements */
 	    WIDTH, HEIGHT,
-	    NULL, vertical)
+	    NULL, horizontal)
 
 CAIRO_TEST (sample_diagonal,
 	    "Check the fidelity of the rasterisation.",


More information about the cairo-commit mailing list