iliaa Sat Feb 28 17:58:48 2004 EDT Modified files: /php-src/ext/pdf pdf.c Log: Remove unused variable. http://cvs.php.net/diff.php/php-src/ext/pdf/pdf.c?r1=1.129&r2=1.130&ty=u Index: php-src/ext/pdf/pdf.c diff -u php-src/ext/pdf/pdf.c:1.129 php-src/ext/pdf/pdf.c:1.130 --- php-src/ext/pdf/pdf.c:1.129 Sat Feb 28 16:00:15 2004 +++ php-src/ext/pdf/pdf.c Sat Feb 28 17:58:47 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pdf.c,v 1.129 2004/02/28 21:00:15 iliaa Exp $ */ +/* $Id: pdf.c,v 1.130 2004/02/28 22:58:47 iliaa Exp $ */ /* pdflib 2.02 ... 3.0x is subject to the ALADDIN FREE PUBLIC LICENSE. Copyright (C) 1997-1999 Thomas Merz. 2000-2001 PDFlib GmbH */ @@ -322,7 +322,7 @@ #else php_info_print_table_row(2, "PDFlib GmbH Version", tmp ); #endif - php_info_print_table_row(2, "Revision", "$Revision: 1.129 $" ); + php_info_print_table_row(2, "Revision", "$Revision: 1.130 $" ); php_info_print_table_end(); } @@ -1944,7 +1944,7 @@ 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 @@ } 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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php