diff options
author | Carlo Marcelo Arenas Belón <carenas@gmail.com> | 2021-08-08 18:38:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-09 09:01:30 -0700 |
commit | dd3c8a72a2eaecf0c752a37e1f4ba4de59818e93 (patch) | |
tree | ac9b0aa0162122f31d92008892554a62ab4b7bb1 /t/t4041-diff-submodule-option.sh | |
parent | oidtree: avoid nested struct oidtree_node (diff) | |
download | tgif-dd3c8a72a2eaecf0c752a37e1f4ba4de59818e93.tar.xz |
object-store: avoid extra ';' from KHASH_INIT
cf2dc1c238 (speed up alt_odb_usable() with many alternates, 2021-07-07)
introduces a KHASH_INIT invocation with a trailing ';', which while
commonly expected will trigger warnings with pedantic on both
clang[-Wextra-semi] and gcc[-Wpedantic], because that macro has already
a semicolon and is meant to be invoked without one.
while fixing the macro would be a worthy solution (specially considering
this is a common recurring problem), remove the extra ';' for now to
minimize churn.
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4041-diff-submodule-option.sh')
0 files changed, 0 insertions, 0 deletions