[cairo-commit] src/cairo-pdf-interchange.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Wed Feb 1 20:18:29 UTC 2017


 src/cairo-pdf-interchange.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5854dd9df40a68efb0cb1b2bb7f94e3f05cbdf45
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Thu Feb 2 06:47:11 2017 +1030

    pdf: don't return uninitialized status
    
    https://bugs.freedesktop.org/show_bug.cgi?id=99630

diff --git a/src/cairo-pdf-interchange.c b/src/cairo-pdf-interchange.c
index 1fc8197..bac62d5 100644
--- a/src/cairo-pdf-interchange.c
+++ b/src/cairo-pdf-interchange.c
@@ -397,7 +397,7 @@ cairo_pdf_interchange_walk_struct_tree (cairo_pdf_surface_t          *surface,
 	    return status;
     }
 
-    return status;
+    return CAIRO_STATUS_SUCCESS;
 }
 
 static cairo_int_status_t


More information about the cairo-commit mailing list