Browse Source

- Removed unused variables

PECL
Felipe Pena 18 years ago
parent
commit
592cecf7d4
  1. 2
      ext/gd/gd.c
  2. 1
      ext/standard/type.c

2
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;

1
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) {

Loading…
Cancel
Save