diff --git a/onnxruntime/test/onnx/TestCase.cc b/onnxruntime/test/onnx/TestCase.cc index 987e33e92cf88..781671e610866 100644 --- a/onnxruntime/test/onnx/TestCase.cc +++ b/onnxruntime/test/onnx/TestCase.cc @@ -511,7 +511,6 @@ void OnnxTestCase::LoadTestData(size_t id, onnxruntime::test::HeapBuffer& b, std::vector test_data_pb_files; - std::filesystem::path dir_fs_path = test_data_dirs_[id]; if (!std::filesystem::exists(dir_fs_path)) return;