Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
- Loading branch information