summaryrefslogtreecommitdiff
path: root/libsanitizer/tsan/tsan_suppressions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libsanitizer/tsan/tsan_suppressions.cc')
-rw-r--r--libsanitizer/tsan/tsan_suppressions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsanitizer/tsan/tsan_suppressions.cc b/libsanitizer/tsan/tsan_suppressions.cc
index e40eb70ceec..d48148fed5c 100644
--- a/libsanitizer/tsan/tsan_suppressions.cc
+++ b/libsanitizer/tsan/tsan_suppressions.cc
@@ -150,7 +150,7 @@ uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp) {
}
void PrintMatchedSuppressions() {
- InternalMmapVector<Suppression *> matched(1);
+ InternalMmapVector<Suppression *> matched;
CHECK(suppression_ctx);
suppression_ctx->GetMatched(&matched);
if (!matched.size())