From: Felipe Pena Date: Sun, 22 Jun 2008 11:36:46 +0000 (+0000) Subject: - Removed unused variables X-Git-Tag: php-5.3.0alpha1~666 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=592cecf7d4058169edddb48603b1ba31d3983061;p=php - Removed unused variables --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 844f0c5ac7..e03b2a6af5 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -3267,7 +3267,6 @@ PHP_FUNCTION(imagecolorsforindex) PHP_FUNCTION(imagegammacorrect) { zval *IM; - double inputgamma, outputgamma; gdImagePtr im; int i; double input, output; @@ -4721,7 +4720,6 @@ static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type ) char *fn_org = NULL; char *fn_dest = NULL; FILE *org, *dest; - int argc = ZEND_NUM_ARGS(); int dest_height = -1; int dest_width = -1; int org_height, org_width; diff --git a/ext/standard/type.c b/ext/standard/type.c index 4eb219e25f..39711d39f5 100644 --- a/ext/standard/type.c +++ b/ext/standard/type.c @@ -92,7 +92,6 @@ PHP_FUNCTION(settype) { zval **var; char *type; - char *new_type; int type_len = 0; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs", &var, &type, &type_len) == FAILURE) {