From ba457d732703730af696085575074c5ce50394c4 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Thu, 14 Jun 2007 06:13:25 +0000 Subject: [PATCH] remove unused vars --- src/share/utf8/utf8.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/share/utf8/utf8.c b/src/share/utf8/utf8.c index b6f0a8ab..fc2c69bc 100644 --- a/src/share/utf8/utf8.c +++ b/src/share/utf8/utf8.c @@ -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, '?'); }