]> granicus.if.org Git - php/commitdiff
- Removed unused variables
authorFelipe Pena <felipe@php.net>
Sun, 22 Jun 2008 11:36:46 +0000 (11:36 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 22 Jun 2008 11:36:46 +0000 (11:36 +0000)
ext/gd/gd.c
ext/standard/type.c

index 844f0c5ac72e5ab7c5be243e88f67485ccfbd123..e03b2a6af5c00856ae121d7c391f7d501f3104f4 100644 (file)
@@ -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;
index 4eb219e25f85a022192c63e16eecec366eac01c2..39711d39f5496e5975eb32ee0692d9e68a703331 100644 (file)
@@ -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) {