From c18cbd0f35087fa487bb701e59eff053eed86ce4 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sat, 28 Feb 2004 22:59:03 +0000 Subject: [PATCH] MFH: Remove unused variable. --- ext/pdf/pdf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index 74c63151c1..c8407669cd 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -1952,7 +1952,7 @@ PHP_FUNCTION(pdf_open_image_file) PHP_FUNCTION(pdf_open_memory_image) { zval **arg1, **arg2; - int i, j, color, count; + int i, j, color; int pdf_image; gdImagePtr im; unsigned char *buffer, *ptr; @@ -1970,7 +1970,6 @@ PHP_FUNCTION(pdf_open_memory_image) } ZEND_FETCH_RESOURCE(im, gdImagePtr, arg2, -1, "Image", le_gd); - count = 3 * im->sx * im->sy; buffer = (unsigned char *) safe_emalloc(3 * im->sx, im->sy, 0); ptr = buffer; -- 2.50.1