From: Wouter Wijngaards Date: Mon, 5 Dec 2011 14:59:24 +0000 (+0000) Subject: - Fix warning unused in compat/strptime.c. X-Git-Tag: release-1.4.14rc1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aa1c1404c01a6b1cf877a0ee2dc95aefd0c8927;p=thirdparty%2Funbound.git - Fix warning unused in compat/strptime.c. git-svn-id: file:///svn/unbound/trunk@2563 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/compat/strptime.c b/compat/strptime.c index 47c793062..9a0caa535 100644 --- a/compat/strptime.c +++ b/compat/strptime.c @@ -106,12 +106,10 @@ str2int(const char **buf, int max) char * unbound_strptime(const char *s, const char *format, struct tm *tm) { - int c, alt_format, ret; + int c, ret; int split_year = 0; while ((c = *format) != '\0') { - alt_format = 0; - /* whitespace, literal or format */ if (isspace(c)) { /* whitespace */ /** whitespace matches zero or more whitespace characters in the diff --git a/doc/Changelog b/doc/Changelog index 695e4f2d7..a779ffc72 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,7 @@ 5 December 2011: Wouter - Fix getaddrinfowithincludes on windows with fedora16 mingw32-gcc. - Fix warnings with gcc 4.6 in compat/inet_ntop.c. + - Fix warning unused in compat/strptime.c. 2 December 2011: Wouter - configure generated with autoconf 2.68.