aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Balatsouras <gbalats@google.com>2021-05-20 20:28:33 -0700
committerGeorge Balatsouras <gbalats@google.com>2021-05-20 20:42:30 -0700
commit7c35bf85bfdb52aba6b61433d0c0b058f958202f (patch)
tree3364a4a675967e1ec118f1508df2eece3b000aa0
parentd10c1ba487c8b08db079e7698abd503a03c3862d (diff)
downloadllvm-7c35bf85bfdb52aba6b61433d0c0b058f958202f.zip
llvm-7c35bf85bfdb52aba6b61433d0c0b058f958202f.tar.gz
llvm-7c35bf85bfdb52aba6b61433d0c0b058f958202f.tar.bz2
[sanitizer_common] Remove unused var in test
Reviewed By: stephan.yichao.zhao Differential Revision: https://reviews.llvm.org/D102898
-rw-r--r--compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
index 504fa1e..cdf8a80 100644
--- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
+++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
@@ -268,7 +268,6 @@ using StackPrintDeathTest = StackPrintTest;
TEST_F(StackPrintDeathTest, SKIP_ON_SPARC(RequiresNonNullBuffer)) {
UnwindFast();
- char buf[100];
EXPECT_DEATH(trace.PrintTo(NULL, 100), "");
}