forked from OSchip/llvm-project
[clangd] Fix the `-Wtype-limits` warning, NFC
The assertion is always true, and triggers a compiler warning, so remove it. llvm-svn: 351809
This commit is contained in:
parent
3d80264f6d
commit
72ef4510b6
|
@ -102,7 +102,6 @@ void MergedIndex::refs(const RefsRequest &Req,
|
||||||
Callback(O);
|
Callback(O);
|
||||||
--Remaining;
|
--Remaining;
|
||||||
});
|
});
|
||||||
assert(Remaining >= 0);
|
|
||||||
if (Remaining == 0)
|
if (Remaining == 0)
|
||||||
return;
|
return;
|
||||||
// We return less than Req.Limit if static index returns more refs for dirty
|
// We return less than Req.Limit if static index returns more refs for dirty
|
||||||
|
|
Loading…
Reference in New Issue