cvs: php4 /ext/mbstring mbfilter_cn.c mbfilter_tw.c
| From: | Sebastian Bergmann | Date: | Tue, 30 Apr 2002 15:21:06 +0000 |
| Subject: | cvs: php4 /ext/mbstring mbfilter_cn.c mbfilter_tw.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11571@lists.php.net to get a copy of this message | ||
sebastian Tue Apr 30 11:21:06 2002 EDT
Modified files:
/php4/ext/mbstring mbfilter_cn.c mbfilter_tw.c
Log:
More unused variables.
Index: php4/ext/mbstring/mbfilter_cn.c
diff -u php4/ext/mbstring/mbfilter_cn.c:1.1 php4/ext/mbstring/mbfilter_cn.c:1.2
--- php4/ext/mbstring/mbfilter_cn.c:1.1 Tue Apr 30 08:00:42 2002
+++ php4/ext/mbstring/mbfilter_cn.c Tue Apr 30 11:21:04 2002
@@ -20,7 +20,7 @@
* "streamable simplified chinese code filter and converter"
*/
-/* $Id: mbfilter_cn.c,v 1.1 2002/04/30 12:00:42 hirokawa Exp $ */
+/* $Id: mbfilter_cn.c,v 1.2 2002/04/30 15:21:04 sebastian Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -44,7 +44,7 @@
int
mbfl_filt_conv_euccn_wchar(int c, mbfl_convert_filter *filter TSRMLS_DC)
{
- int c1, s1, s2, w;
+ int c1, w;
switch (filter->status) {
case 0:
@@ -154,7 +154,7 @@
int
mbfl_filt_conv_cp936_wchar(int c, mbfl_convert_filter *filter TSRMLS_DC)
{
- int c1, s1, s2, w;
+ int c1, w;
switch (filter->status) {
case 0:
@@ -212,7 +212,7 @@
int
mbfl_filt_conv_wchar_cp936(int c, mbfl_convert_filter *filter TSRMLS_DC)
{
- int c1, c2, s;
+ int c1, s;
s = 0;
if (c >= ucs_a1_cp936_table_min && c < ucs_a1_cp936_table_max) {
Index: php4/ext/mbstring/mbfilter_tw.c
diff -u php4/ext/mbstring/mbfilter_tw.c:1.1 php4/ext/mbstring/mbfilter_tw.c:1.2
--- php4/ext/mbstring/mbfilter_tw.c:1.1 Tue Apr 30 08:00:42 2002
+++ php4/ext/mbstring/mbfilter_tw.c Tue Apr 30 11:21:04 2002
@@ -20,7 +20,7 @@
* "streamable traditional chinese code filter and converter"
*/
-/* $Id: mbfilter_tw.c,v 1.1 2002/04/30 12:00:42 hirokawa Exp $ */
+/* $Id: mbfilter_tw.c,v 1.2 2002/04/30 15:21:04 sebastian Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -165,7 +165,7 @@
int
mbfl_filt_conv_wchar_euctw(int c, mbfl_convert_filter *filter TSRMLS_DC)
{
- int c0, c1, c2, s, plane;
+ int c1, s, plane;
s = 0;
if (c >= ucs_a1_cns11643_table_min && c < ucs_a1_cns11643_table_max) {
@@ -221,7 +221,7 @@
int
mbfl_filt_conv_big5_wchar(int c, mbfl_convert_filter *filter TSRMLS_DC)
{
- int c1, s1, s2, w;
+ int c1, w;
switch (filter->status) {
case 0:
@@ -281,7 +281,7 @@
int
mbfl_filt_conv_wchar_big5(int c, mbfl_convert_filter *filter TSRMLS_DC)
{
- int c1, c2, s;
+ int c1, s;
s = 0;
if (c >= ucs_a1_big5_table_min && c < ucs_a1_big5_table_max) {