From 8654677015dd5c17ceea0fea2fdc8d2eb6ca8f98 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 30 Jul 2018 19:43:07 +0300 Subject: [PATCH] UnitTest: Remove unused function This amends commit da4be3fdb726cc7c8e381d42c8997e31d7dc08c2. Change-Id: Iffdf4581b7f29fc846c944e24f33e27e003f1b3b Reviewed-by: Ivan Donchevskii --- tests/unit/unittest/gtest-creator-printing.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/unit/unittest/gtest-creator-printing.cpp b/tests/unit/unittest/gtest-creator-printing.cpp index 66d1e88c39c..73184a17afe 100644 --- a/tests/unit/unittest/gtest-creator-printing.cpp +++ b/tests/unit/unittest/gtest-creator-printing.cpp @@ -299,18 +299,6 @@ std::ostream &operator<<(std::ostream &os, const AliveMessage &/*message*/) return os << "()"; } -#define RETURN_TEXT_FOR_CASE(enumValue) case CompletionCorrection::enumValue: return #enumValue -static const char *completionCorrectionToText(CompletionCorrection correction) -{ - switch (correction) { - RETURN_TEXT_FOR_CASE(NoCorrection); - RETURN_TEXT_FOR_CASE(DotToArrowCorrection); - } - - return ""; -} -#undef RETURN_TEXT_FOR_CASE - std::ostream &operator<<(std::ostream &os, const CompletionsMessage &message) { os << "("