From: Giuseppe Scrivano Date: Mon, 31 May 2010 09:51:27 +0000 (+0200) Subject: Remove an unused function and an unused local variable. X-Git-Tag: v1.13~153 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=260b9593dc03da095df30efc3eed251a231d09a9 Remove an unused function and an unused local variable. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2926d361..d836b2c0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2010-05-31 Giuseppe Scrivano + + * recur.c (retrieve_tree): Remove variable `up_error_code'. + + * iri.c (open_locale_to_utf8): Remove function. + 2010-05-30 Giuseppe Scrivano * html-parse.c (NAME_CHAR_P): Consider '<' an invalid character. diff --git a/src/iri.c b/src/iri.c index 22d57610..067291c7 100644 --- 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 * diff --git a/src/recur.c b/src/recur.c index 8d769f71..fbdb5cef 100644 --- a/src/recur.c +++ b/src/recur.c @@ -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;