Remove the use of Variadic macros are not supported by
all compilers.

Cc: Sean Brogan <[email protected]>
Cc: Liming Gao <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <[email protected]>
---
 MsUnitTestPkg/Include/Library/UnitTestLogLib.h | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/MsUnitTestPkg/Include/Library/UnitTestLogLib.h 
b/MsUnitTestPkg/Include/Library/UnitTestLogLib.h
index 83904d1bcd..b92044c7ef 100644
--- a/MsUnitTestPkg/Include/Library/UnitTestLogLib.h
+++ b/MsUnitTestPkg/Include/Library/UnitTestLogLib.h
@@ -39,19 +39,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
///================================================================================================
 
///================================================================================================
 
-
-// IMPORTANT NOTE: These macros should ONLY be used in a Unit Test.
-//                 They will consume the Framework Handle and update the 
Framework->CurrentTest.
-
-#define UT_LOG_ERROR(Format, ...)              \
-  UnitTestLog( Framework, DEBUG_ERROR, Format, __VA_ARGS__ );
-#define UT_LOG_WARNING(Format, ...)            \
-  UnitTestLog( Framework, DEBUG_WARN, Format, __VA_ARGS__ );
-#define UT_LOG_INFO(Format, ...)               \
-  UnitTestLog( Framework, DEBUG_INFO, Format, __VA_ARGS__ );
-#define UT_LOG_VERBOSE(Format, ...)            \
-  UnitTestLog( Framework, DEBUG_VERBOSE, Format, __VA_ARGS__ );
-
 VOID
 EFIAPI
 UnitTestLog (
-- 
2.14.2.windows.3

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to