diff options
| author | Jeff King <peff@peff.net> | 2025-11-18 04:12:25 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-18 09:36:11 -0800 |
| commit | f05df7ffca492b37d604ad6beed788055eb56ebd (patch) | |
| tree | 22bd72b3a0ab10e05577bb932041a1e1582a9733 /builtin/help.c | |
| parent | 830424def4896dbf041d41dad873f5b86fdf9bfa (diff) | |
fsck: remove redundant date timestamp check
After calling "parse_timestamp(p, &end, 10)", we complain if "p == end",
which would imply that we did not see any digits at all. But we know
this cannot be the case, since we would have bailed already if we did
not see any digits, courtesy of extra checks added by 8e4309038f (fsck:
do not assume NUL-termination of buffers, 2023-01-19). Since then,
checking "p == end" is redundant and we can drop it.
This will make our lives a little easier as we refactor further.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/help.c')
0 files changed, 0 insertions, 0 deletions
