mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 08:26:06 +00:00
[lsan] Initialize uptr value with number not boolean
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D145354
This commit is contained in:
parent
71ab6eab72
commit
cbb9369b9e
@ -948,7 +948,7 @@ void LeakReport::PrintSummary() {
|
||||
|
||||
uptr LeakReport::ApplySuppressions() {
|
||||
LeakSuppressionContext *suppressions = GetSuppressionContext();
|
||||
uptr new_suppressions = false;
|
||||
uptr new_suppressions = 0;
|
||||
for (uptr i = 0; i < leaks_.size(); i++) {
|
||||
if (suppressions->Suppress(leaks_[i].stack_trace_id, leaks_[i].hit_count,
|
||||
leaks_[i].total_size)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user