From: Ilia Alshanetsky Date: Sat, 28 Feb 2004 22:58:51 +0000 (+0000) Subject: Remove unused variable. X-Git-Tag: RELEASE_0_2_0~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f116e752446c07f3efacacdf2a58d99d025417e;p=php Remove unused variable. --- diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index 2e7dac8a56..2131ca2239 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -1944,7 +1944,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; @@ -1962,7 +1962,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;