summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-12-15 13:25:36 -0800
committerJunio C Hamano <gitster@pobox.com>2020-12-15 15:30:44 -0800
commit37e73233c34ceac9f16bd8e7c33ae4c8a4157b1c (patch)
tree9a70a31b2d306faf3b271768c36398723e1f877c /builtin/commit.c
parent449a900969d0f060d054e5a13084bed318da3a31 (diff)
strmap: make callers of strmap_remove() to call it in void context
Two "static inline" functions, both of which return void, call strmap_remove() and tries to return the value it returns as their return value, which is just bogus, as strmap_remove() returns void itself. Call it in the void context and fall-thru the control to the end instead. Reported-by: Randall S. Becker <rsbecker@nexbridge.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions