From 2a81ff6197238f014e0d34e1163285c4f74d4811 Mon Sep 17 00:00:00 2001 From: Filippo Date: Sun, 29 Mar 2020 16:01:24 +0200 Subject: [PATCH] Removed unused parameters and variables --- googletest/src/gtest.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index ca10d318..591b5fe9 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -4453,16 +4453,8 @@ void JUnitXmlUnitTestResultPrinter::OutputXmlCDataSection(::std::ostream* stream void JUnitXmlUnitTestResultPrinter::OutputXmlAttribute( std::ostream* stream, - const std::string& element_name, const std::string& name, const std::string& value) { -// const std::vector& allowed_names = -// GetReservedOutputAttributesForElement(element_name); - -// GTEST_CHECK_(std::find(allowed_names.begin(), allowed_names.end(), name) != -// allowed_names.end()) -// << "Attribute " << name << " is not allowed for element <" << element_name -// << ">."; *stream << " " << name << "=\"" << EscapeXmlAttribute(value) << "\""; } @@ -4503,7 +4495,6 @@ void JUnitXmlUnitTestResultPrinter::PrintJUnitXmlTestSuite(::std::ostream *strea } void JUnitXmlUnitTestResultPrinter::OutputJUnitXmlTestInfo(::std::ostream* stream, - const char* test_suite_name, const TestInfo& test_info) { const TestResult& result = *test_info.result();