diff --git a/test/testpaint/GeneralSupportHeightCall.cpp b/test/testpaint/GeneralSupportHeightCall.cpp index 87a75ff973..4dded1cf2b 100644 --- a/test/testpaint/GeneralSupportHeightCall.cpp +++ b/test/testpaint/GeneralSupportHeightCall.cpp @@ -54,17 +54,6 @@ bool GeneralSupportHeightCall::FindMostCommonSupportCall(SupportCall calls[4], S return false; } - if (map.size() == 3) { - for (auto &&item : map) { - if (item.second == 2) { - (*out) = item.first; - return true; - } - } - - return false; - } - return false; } diff --git a/test/testpaint/SegmentSupportHeightCall.cpp b/test/testpaint/SegmentSupportHeightCall.cpp index 082df5665c..a36fcd698a 100644 --- a/test/testpaint/SegmentSupportHeightCall.cpp +++ b/test/testpaint/SegmentSupportHeightCall.cpp @@ -137,16 +137,5 @@ bool SegmentSupportHeightCall::FindMostCommonSupportCall(std::vector