From: Jouni Ahto Date: Tue, 29 Feb 2000 18:45:47 +0000 (+0000) Subject: (image(createfrom?)png) Fix a typo & remove unused variable. X-Git-Tag: PHP-4.0-RC1~345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aeb6f86fe688b3a638878660c662bb369f07b899;p=php (image(createfrom?)png) Fix a typo & remove unused variable. --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 6a81db8af8..66d6e1cb61 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -442,7 +442,7 @@ PHP_FUNCTION(imagecreatefrompng) char *fn=NULL; FILE *fp; int issock=0, socketd=0; - GDLS_FETCH; + GDLS_FETCH(); if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &file) == FAILURE) { WRONG_PARAM_COUNT; @@ -477,7 +477,6 @@ PHP_FUNCTION(imagepng) char *fn=NULL; FILE *fp; int argc; - int ind_type; int output=1; GDLS_FETCH();