From: Ilia Alshanetsky Date: Sat, 28 Feb 2004 22:59:03 +0000 (+0000) Subject: MFH: Remove unused variable. X-Git-Tag: php-4.3.5RC4~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c18cbd0f35087fa487bb701e59eff053eed86ce4;p=php MFH: Remove unused variable. --- 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;