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:
parent
de3e931df7
commit
da8af471fb
Notes:
git
2020-06-29 11:06:32 +09:00
1 changed files with 1 additions and 0 deletions
1
time.c
1
time.c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue