[Flac-dev] Patch : Remove unused variables.

Erik de Castro Lopo erikd-flac at mega-nerd.com
Mon Apr 16 03:27:28 PDT 2007


Hi all,

No explanation needed. Patch below.

Cheers,
Erik

diff -u -r1.4 utf8.c
--- src/share/utf8/utf8.c	13 Feb 2007 02:05:19 -0000	1.4
+++ src/share/utf8/utf8.c	16 Apr 2007 10:24:31 -0000
@@ -292,15 +292,11 @@
 
 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, '?');
 }
 

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"There are two kinds of people in the world, those that have children 
and those that ARE children". Children are selfish, or more accurately
ego-centric. Children have a very short-sighted view of the world.
Offer a child one lolly now or the whole bag later and before you can
say ''Don't chop the dinosaur Daddy!'', it's in the gob."
-- my friend Scott


More information about the Flac-dev mailing list