diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2014-10-07 06:02:08 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2014-10-07 06:02:08 +0000 |
commit | e15d3f3c0978fad0ebbc2ced8761cec691dda76c (patch) | |
tree | e85dc22d44473bd7bc58a2fa92eadd71e1d39436 | |
parent | af1360206c4ecc9265c932e2303b916e4edb37a5 (diff) |
Notes
-rw-r--r-- | lib/libc/stdtime/strptime.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c index 55c9960ff2c9..e942e041c157 100644 --- a/lib/libc/stdtime/strptime.c +++ b/lib/libc/stdtime/strptime.c @@ -676,8 +676,6 @@ strptime_l(const char * __restrict buf, const char * __restrict fmt, if (ret && gmt) { time_t t = timegm(tm); - if (t == -1) - return (NULL); localtime_r(&t, tm); } |