From: Gustavo André dos Santos Lopes Date: Tue, 9 Aug 2011 00:40:45 +0000 (+0000) Subject: - Elided unused argument in internal linkage function. X-Git-Tag: php-5.4.0beta1~467 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a61534eab80b2d4dbfe1696d982ee4f43533eb18;p=php - Elided unused argument in internal linkage function. --- diff --git a/ext/standard/html.c b/ext/standard/html.c index faec0dac98..50bc307927 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -1520,7 +1520,6 @@ PHP_FUNCTION(htmlentities) static inline void write_s3row_data( const entity_stage3_row *r, unsigned orig_cp, - unsigned uni_cp, enum entity_charset charset, zval *arr) { @@ -1636,7 +1635,7 @@ PHP_FUNCTION(get_html_translation_table) if (((code == '\'' && !(flags & ENT_HTML_QUOTE_SINGLE)) || (code == '"' && !(flags & ENT_HTML_QUOTE_DOUBLE)))) continue; - write_s3row_data(r, code, code, charset, return_value); + write_s3row_data(r, code, charset, return_value); } } } @@ -1658,7 +1657,7 @@ PHP_FUNCTION(get_html_translation_table) if (r->data.ent.entity == NULL) continue; - write_s3row_data(r, i, uni_cp, charset, return_value); + write_s3row_data(r, i, charset, return_value); } } } else { @@ -1677,7 +1676,7 @@ PHP_FUNCTION(get_html_translation_table) continue; /* charset is indifferent, used cs_8859_1 for efficiency */ - write_s3row_data(r, j, j, cs_8859_1, return_value); + write_s3row_data(r, j, cs_8859_1, return_value); } } }