cvs: php4 /ext/gd gd.c
| From: | James Moore | Date: | Mon, 21 May 2001 18:50:05 +0000 |
| Subject: | cvs: php4 /ext/gd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5905@lists.php.net to get a copy of this message | ||
jmoore Mon May 21 11:50:05 2001 EDT
Modified files:
/php4/ext/gd gd.c
Log:
Remove unused variable from imagesetstyle
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.127 php4/ext/gd/gd.c:1.128
--- php4/ext/gd/gd.c:1.127 Sat May 19 10:45:36 2001
+++ php4/ext/gd/gd.c Mon May 21 11:50:05 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.127 2001/05/19 17:45:36 sterling Exp $ */
+/* $Id: gd.c,v 1.128 2001/05/21 18:50:05 jmoore Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -458,7 +458,7 @@
Set the line drawing styles for use with imageline and IMG_COLOR_STYLED. */
PHP_FUNCTION(imagesetstyle)
{
- zval **IM, **dither, **styles;
+ zval **IM, **styles;
gdImagePtr im;
int * stylearr;
int index;
@@ -470,7 +470,6 @@
}
ZEND_FETCH_RESOURCE(im, gdImagePtr, IM, -1, "Image", le_gd);
- convert_to_array_ex(dither);
/* copy the style values in the stylearr */
stylearr = emalloc(sizeof(int) * zend_hash_num_elements(HASH_OF(*styles)));