]> granicus.if.org Git - php/commitdiff
(image(createfrom?)png) Fix a typo & remove unused variable.
authorJouni Ahto <jah@php.net>
Tue, 29 Feb 2000 18:45:47 +0000 (18:45 +0000)
committerJouni Ahto <jah@php.net>
Tue, 29 Feb 2000 18:45:47 +0000 (18:45 +0000)
ext/gd/gd.c

index 6a81db8af86501f1836266c1f3b129677911fdaf..66d6e1cb61657c9bc6e75664e9e3196f9e98f367 100644 (file)
@@ -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();