From a567bbbb42b8a5bd45e4956faf8f716753799372 Mon Sep 17 00:00:00 2001 From: Jesse Zhang Date: Mon, 2 Nov 2020 09:42:51 -0800 Subject: [PATCH] Remove no-op print from test. The method called doesn't actually do any printing, and we don't assert on the output. Removing the call doesn't even change the program output. --- .../gporca/server/src/unittest/gpopt/search/CTreeMapTest.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/gporca/server/src/unittest/gpopt/search/CTreeMapTest.cpp b/src/backend/gporca/server/src/unittest/gpopt/search/CTreeMapTest.cpp index d83f861b1a..eff18ec4c5 100644 --- a/src/backend/gporca/server/src/unittest/gpopt/search/CTreeMapTest.cpp +++ b/src/backend/gporca/server/src/unittest/gpopt/search/CTreeMapTest.cpp @@ -310,7 +310,6 @@ CTreeMapTest::EresUnittest_Unrank() oss << "=== tree rank: " << ulRank << " ===" << std::endl; BOOL fFlag = true; CNode *pnd = ptmap->PrUnrank(mp, &fFlag, ulRank); - (void) pnd->OsPrint(oss); pnd->Release(); } -- GitLab