From 680f276a600ba62925776e02b57b72513e1e9908 Mon Sep 17 00:00:00 2001 From: Elaine Houha <38798233+houha2@users.noreply.github.com> Date: Tue, 13 Feb 2024 10:20:28 -0800 Subject: Part 2: WfpSampler now compiles on both EWDKs (#1108) * compiles on both EWDKs needed for all 5 Samples * fixes the debug build which broke during merge conflict resolution * Update exclusions.csv --------- Co-authored-by: Elaine Houha Co-authored-by: JakobL-MSFT <110699333+JakobL-MSFT@users.noreply.github.com> --- network/trans/WFPSampler/lib/HelperFunctions_Log.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'network/trans/WFPSampler/lib/HelperFunctions_Log.cpp') diff --git a/network/trans/WFPSampler/lib/HelperFunctions_Log.cpp b/network/trans/WFPSampler/lib/HelperFunctions_Log.cpp index 79a183c1..a0670d60 100644 --- a/network/trans/WFPSampler/lib/HelperFunctions_Log.cpp +++ b/network/trans/WFPSampler/lib/HelperFunctions_Log.cpp @@ -84,9 +84,6 @@ VOID HlprLogError(_In_ PCWSTR pMessage, argumentList); if(status != NO_ERROR) { - wprintf(L"HlprLogError : StringCchVPrintf() [status: %#x]", - status); - HLPR_BAIL; } @@ -95,9 +92,6 @@ VOID HlprLogError(_In_ PCWSTR pMessage, &size); if(status != NO_ERROR) { - wprintf(L"HlprLogError : StringCchLength() [status: %#x]", - status); - HLPR_BAIL; } @@ -115,14 +109,9 @@ VOID HlprLogError(_In_ PCWSTR pMessage, pLogMessage); if(status != NO_ERROR) { - wprintf(L"HlprLogError : StringCchPrintf() [status: %#x]", - status); - HLPR_BAIL; } - wprintf(pActualMessage); - HLPR_BAIL_LABEL: va_end(argumentList); @@ -201,8 +190,6 @@ VOID HlprLogInfo(_In_ PCWSTR pMessage, HLPR_BAIL; } - wprintf(pActualMessage); - HLPR_BAIL_LABEL: va_end(argumentList); -- cgit v1.3.1