1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

find_time_t: reset status before goto

This commit is contained in:
卜部昌平 2020-06-25 09:50:06 +09:00
parent de3e931df7
commit da8af471fb
Notes: git 2020-06-29 11:06:32 +09:00

1
time.c
View file

@ -3295,6 +3295,7 @@ find_time_t(struct tm *tptr, int utc_p, time_t *tp)
if (guess <= guess_lo) fprintf(stderr, "too small guess: %ld <= %ld\n", guess, guess_lo);
if (guess_hi <= guess) fprintf(stderr, "too big guess: %ld <= %ld\n", guess_hi, guess);
#endif
status = 0;
goto binsearch;
}
}