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

Silent compiler warning.

This commit is contained in:
Giuseppe Scrivano 2011-03-21 13:41:41 +01:00
parent 024683705d
commit 244b732e0a
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
2011-03-21 Giuseppe Scrivano <gscrivano@gnu.org> 2011-03-21 Giuseppe Scrivano <gscrivano@gnu.org>
* iri.h: Declare `dummy_iri' as extern not static. * iri.h (parse_charset) [!ENABLE_IRI]: Use the parameter to avoid a
compiler warning.
* iri.h: Declare `dummy_iri' as extern not static.
* main.c [!ENABLE_IRI]: Define `dummy_iri'. * main.c [!ENABLE_IRI]: Define `dummy_iri'.
(main) [!ENABLE_IRI]: Initialize `dummy_iri'. (main) [!ENABLE_IRI]: Initialize `dummy_iri'.

View File

@ -56,7 +56,7 @@ void set_content_encoding (struct iri *i, char *charset);
extern struct iri dummy_iri; extern struct iri dummy_iri;
#define parse_charset(str) NULL #define parse_charset(str) (str, NULL)
#define find_locale() NULL #define find_locale() NULL
#define check_encoding_name(str) false #define check_encoding_name(str) false
#define locale_to_utf8(str) (str) #define locale_to_utf8(str) (str)