1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Remove an unused function and an unused local variable.

This commit is contained in:
Giuseppe Scrivano 2010-05-31 11:51:27 +02:00
parent 9e286ee357
commit 260b9593dc
3 changed files with 6 additions and 8 deletions

View 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> 2010-05-30 Giuseppe Scrivano <gscrivano@gnu.org>
* html-parse.c (NAME_CHAR_P): Consider '<' an invalid character. * html-parse.c (NAME_CHAR_P): Consider '<' an invalid character.

View File

@ -110,13 +110,6 @@ check_encoding_name (char *encoding)
return true; 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 /* 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. */ on success, or str on error or if conversion isn't needed. */
const char * const char *

View File

@ -200,7 +200,6 @@ retrieve_tree (struct url *start_url_parsed, struct iri *pi)
the queue, but haven't been downloaded yet. */ the queue, but haven't been downloaded yet. */
struct hash_table *blacklist; struct hash_table *blacklist;
int up_error_code;
struct iri *i = iri_new (); struct iri *i = iri_new ();
#define COPYSTR(x) (x) ? xstrdup(x) : NULL; #define COPYSTR(x) (x) ? xstrdup(x) : NULL;