Commit: cd14de94d2428a28c8bfad1aad9837c59ab81e8f Author: Christopher Jones <s...@php.net> Wed, 14 Aug 2013 21:06:59 -0700 Parents: 39612afc72623e89a2bc595c9be4be497568d1be Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cd14de94d2428a28c8bfad1aad9837c59ab81e8f Log: Reduce compiler noise by removing unused variables and labels Changed paths: M ext/gd/gd.c M ext/gd/libgd/gd.c M ext/standard/url_scanner_ex.c Diff: diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 8f32ad5..fb25821 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -2434,7 +2434,7 @@ static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, fflush(fp); } -register_im: +/* register_im: */ if (im) { ZEND_REGISTER_RESOURCE(return_value, im, le_gd); php_stream_close(stream); diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index 7ed6617..54890bc 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -3011,7 +3011,6 @@ void gdImageGetClip (gdImagePtr im, int *x1P, int *y1P, int *x2P, int *y2P) int gdImagePaletteToTrueColor(gdImagePtr src) { unsigned int y; - unsigned char alloc_y = 0; unsigned int yy; if (src == NULL) { diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c index 833e9d8..2c2dfda 100644 --- a/ext/standard/url_scanner_ex.c +++ b/ext/standard/url_scanner_ex.c @@ -1011,7 +1011,7 @@ static void php_url_scanner_output_handler(char *output, uint output_len, char * PHPAPI int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC) { - char *encoded; + char *encoded = NULL; int encoded_len; smart_str val; -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php