remove unused vars
authorJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 14 Jun 2007 06:13:25 +0000 (06:13 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 14 Jun 2007 06:13:25 +0000 (06:13 +0000)
src/share/utf8/utf8.c

index b6f0a8a..fc2c69b 100644 (file)
@@ -292,15 +292,11 @@ static int convert_string(const char *fromcode, const char *tocode,
 
 int utf8_encode(const char *from, char **to)
 {
-  char *charset;
-
   return convert_string(current_charset(), "UTF-8", from, to, '#');
 }
 
 int utf8_decode(const char *from, char **to)
 {
-  char *charset;
-
   return convert_string("UTF-8", current_charset(), from, to, '?');
 }