strptime: avoid compiler warnings
authorEric Blake <eblake@redhat.com>
Fri, 11 Feb 2011 20:30:04 +0000 (13:30 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 11 Feb 2011 20:34:13 +0000 (13:34 -0700)
commitecb020f2b046790d76d05d377ca1e864e2bc9fdc
tree82311d1e5232ae6007c7597050cb0b4ea14f8b66
parent4cce65cb2f10936f13760625f39d532564984fde
strptime: avoid compiler warnings

Reported against mingw, but reproduced on glibc with:

CFLAGS='-Wall -Wunused-label -Wunused-variable' \
  ac_cv_func_strptime=no ./gnulib-tool --with-tests --test strptime

* lib/strptime.c (__strptime_internal) [!_NL_CURRENT]: Avoid
compiler warnings about dead code.
Reported by Daniel P. Berrange.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/strptime.c