[compiler-rt] 6b6564f - Fix unused variable warning.
Sterling Augustine via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 20 10:00:02 PDT 2021
Author: Sterling Augustine
Date: 2021-10-20T09:59:16-07:00
New Revision: 6b6564fcf9f5cce91630d1888d7e95b187bfc320
URL: https://github.com/llvm/llvm-project/commit/6b6564fcf9f5cce91630d1888d7e95b187bfc320
DIFF: https://github.com/llvm/llvm-project/commit/6b6564fcf9f5cce91630d1888d7e95b187bfc320.diff
LOG: Fix unused variable warning.
Added:
Modified:
compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp b/compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
index 1251a4e518ed0..7c6ecfb13687b 100644
--- a/compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
+++ b/compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
@@ -671,6 +671,7 @@ TEST(Corpus, Replace) {
/*TimeOfUnit*/ std::chrono::microseconds(5678),
/*FeatureSet*/ {}, DFT,
/*BaseII*/ nullptr);
+ (void) SecondII;
Unit ReplacedU = Unit{0x03};
C->Replace(FirstII, ReplacedU,
More information about the llvm-commits
mailing list