From: James Moore Date: Mon, 21 May 2001 18:50:05 +0000 (+0000) Subject: Remove unused variable from imagesetstyle X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~299 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1dbab5bb33fc9408955c63328ddeff62f4b63979;p=php Remove unused variable from imagesetstyle --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 9dcafb1ff9..7ea798b750 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -458,7 +458,7 @@ PHP_FUNCTION(imageloadfont) 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 @@ PHP_FUNCTION(imagesetstyle) } 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)));