From: Sebastian Bergmann Date: Tue, 30 Apr 2002 14:36:43 +0000 (+0000) Subject: Fix ZTS build. Remove unused variables. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~333 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28e1120978ed24c1dd1bd25e70a4713add0a38ea;p=php Fix ZTS build. Remove unused variables. --- diff --git a/ext/mbstring/mbfilter_kr.c b/ext/mbstring/mbfilter_kr.c index 9fc43402dc..86f4bdca5d 100644 --- a/ext/mbstring/mbfilter_kr.c +++ b/ext/mbstring/mbfilter_kr.c @@ -44,7 +44,7 @@ int mbfl_filt_conv_euckr_wchar(int c, mbfl_convert_filter *filter TSRMLS_DC) { - int c1, s1, s2, w, flag; + int c1, w, flag; switch (filter->status) { case 0: @@ -165,7 +165,7 @@ mbfl_filt_conv_wchar_euckr(int c, mbfl_convert_filter *filter TSRMLS_DC) } } else { if (filter->illegal_mode != MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE) { - CK(mbfl_filt_conv_illegal_output(c, filter)); + CK(mbfl_filt_conv_illegal_output(c, filter TSRMLS_CC)); } } @@ -178,7 +178,7 @@ mbfl_filt_conv_wchar_euckr(int c, mbfl_convert_filter *filter TSRMLS_DC) int mbfl_filt_conv_uhc_wchar(int c, mbfl_convert_filter *filter TSRMLS_DC) { - int c1, s1, s2, w, flag; + int c1, w, flag; const short ofst1[] = { 0x41, 0x61, 0x81, 0xa1}; const short ofst2[] = { 0x0, 0x1a, 0x34, 0x54}; @@ -269,7 +269,7 @@ mbfl_filt_conv_uhc_wchar(int c, mbfl_convert_filter *filter TSRMLS_DC) int mbfl_filt_conv_wchar_uhc(int c, mbfl_convert_filter *filter TSRMLS_DC) { - int c1, c2, s; + int c1, s; s = 0; if (c >= ucs_a1_uhc_table_min && c < ucs_a1_uhc_table_max) {