diff --git a/mlir/unittests/IR/RemarkTest.cpp b/mlir/unittests/IR/RemarkTest.cpp index 09c576c992b49..94753c10a9a93 100644 --- a/mlir/unittests/IR/RemarkTest.cpp +++ b/mlir/unittests/IR/RemarkTest.cpp @@ -327,8 +327,6 @@ TEST(Remark, TestRemarkFinal) { std::string categoryLoopunroll("LoopUnroll"); - std::string seenMsg = ""; - { MLIRContext context; Location loc = FileLineColLoc::get(&context, "test.cpp", 1, 5);