]> granicus.if.org Git - php/commitdiff
- nuke unused vars
authorPierre Joye <pajoye@php.net>
Wed, 5 May 2010 13:51:54 +0000 (13:51 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 5 May 2010 13:51:54 +0000 (13:51 +0000)
ext/standard/image.c

index a6227166004078f3ef9665bde9d5d9348cb1b10e..73b6f76ee9d178a6b844913d3bbe2714d95cf329 100644 (file)
@@ -1296,8 +1296,8 @@ PHPAPI int php_getimagetype(php_stream * stream, char *filetype TSRMLS_DC)
 
 static void php_getimagesize_from_stream(php_stream *stream, zval **info, INTERNAL_FUNCTION_PARAMETERS) /* {{{ */
 {
-       char *arg1, *temp;
-       int arg1_len, itype = 0, argc = ZEND_NUM_ARGS();
+       char *temp;
+       int itype = 0;
        struct gfxinfo *result = NULL;
 
        if (!stream) {