From 54fb65fae4d5ce47e32e54d0da50cbc3aa8c5d64 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 26 Sep 2016 18:09:11 +0100 Subject: Fix typo in fz_valgrind_pixmap Function exists purely for doing valgrind testing of pixmap definedness. --- source/fitz/pixmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz') diff --git a/source/fitz/pixmap.c b/source/fitz/pixmap.c index d278900a..f888792d 100644 --- a/source/fitz/pixmap.c +++ b/source/fitz/pixmap.c @@ -1263,7 +1263,7 @@ int fz_valgrind_pixmap(const fz_pixmap *pix) const unsigned char *p = pix->samples; if (pix == NULL) - return; + return 0; total = 0; ww = pix->w; -- cgit v1.2.3