]> sjero.net Git - wget/commitdiff
Remove an unused function and an unused local variable.
authorGiuseppe Scrivano <gscrivano@gnu.org>
Mon, 31 May 2010 09:51:27 +0000 (11:51 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Mon, 31 May 2010 09:51:27 +0000 (11:51 +0200)
src/ChangeLog
src/iri.c
src/recur.c

index 2926d361db981675b252c98887b8d97b0b44ba95..d836b2c0e61552a98b643f8a2639ea8a1e769300 100644 (file)
@@ -1,3 +1,9 @@
+2010-05-31  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * recur.c (retrieve_tree): Remove variable `up_error_code'.
+
+       * iri.c (open_locale_to_utf8): Remove function.
+
 2010-05-30  Giuseppe Scrivano  <gscrivano@gnu.org>
 
        * html-parse.c (NAME_CHAR_P): Consider '<' an invalid character.
index 22d57610cdd19c9916f4cac13745a66daac07323..067291c7cf5c33dedacccf32e33147047016070e 100644 (file)
--- a/src/iri.c
+++ b/src/iri.c
@@ -110,13 +110,6 @@ check_encoding_name (char *encoding)
   return true;
 }
 
-/* Try opening an iconv_t descriptor for conversion from locale to UTF-8 */
-static bool
-open_locale_to_utf8 (void)
-{
-
-}
-
 /* Try converting string str from locale to UTF-8. Return a new string
    on success, or str on error or if conversion isn't needed. */
 const char *
index 8d769f71721ebfe972173295e2d30ae4c3f8ee76..fbdb5cefdf2c6e1675e2dc20cf610ae3d82efe54 100644 (file)
@@ -200,7 +200,6 @@ retrieve_tree (struct url *start_url_parsed, struct iri *pi)
      the queue, but haven't been downloaded yet.  */
   struct hash_table *blacklist;
 
-  int up_error_code;
   struct iri *i = iri_new ();
 
 #define COPYSTR(x)  (x) ? xstrdup(x) : NULL;