diff --git a/borrowed/libc/strptime.c b/borrowed/libc/strptime.c index ff6b152f2c7..58af36ff11e 100644 --- a/borrowed/libc/strptime.c +++ b/borrowed/libc/strptime.c @@ -436,14 +436,13 @@ int era_cnt; int have_mon, have_mday; #ifdef _NL_CURRENT size_t num_eras; -#endif struct era_entry *era; - + era = NULL; +#endif have_I = is_pm = 0; century = -1; want_century = 0; want_era = 0; - era = NULL; have_wday = want_xday = have_yday = have_mon = have_mday = 0;