mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
chore(clang): suppress "result of operation is garbage"
This commit is contained in:
parent
19b2ad0518
commit
4ce5d27f46
@ -4848,6 +4848,7 @@ static int fuzzy_match_compute_score(const char_u *const str, const int strSz,
|
||||
const uint32_t *const matches, const int numMatches)
|
||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_PURE
|
||||
{
|
||||
assert(numMatches > 0); // suppress clang "result of operation is garbage"
|
||||
// Initialize score
|
||||
int score = 100;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user