Explorar el Código

(utf8_convert): Changed prototype
(get_input_charset): Removed unused variable

Sergey Poznyakoff hace 21 años
padre
commit
a55ec0a319
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/utf8.c

+ 1 - 2
src/utf8.c

@@ -243,7 +243,6 @@ get_input_charset ()
 {
   const char *charset = NULL;
   char *tmp;
-  int rc;
 
   /* Try to deduce the charset from LC_ALL or LANG variables */
 
@@ -313,7 +312,7 @@ utf8_init (bool to_utf)
 }
 		  
 bool
-utf8_convert(bool to_utf, char *input, char **output)
+utf8_convert(bool to_utf, const char *input, char **output)
 {
   const char *ib;
   char *ob;