Skip to content

Commit a9f460a

Browse files
committed
5-12 C2
1 parent fedeaca commit a9f460a

File tree

2 files changed

+45
-380
lines changed

2 files changed

+45
-380
lines changed

contrib/win32/win32compat/lsa/LsaString.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include <Ntsecapi.h>
3838
#endif
3939

40-
4140
#include "LsaString.h"
4241

4342
#ifdef __VS_BUILD__
@@ -89,8 +88,7 @@ NTSTATUS LsaAllocUnicodeString(PUNICODE_STRING *lsaStr, DWORD maxLen)
8988

9089
LsaApi.FreeLsaHeap((*lsaStr));
9190
}
92-
93-
DBG_MSG("ERROR. Cannot allocate LSA UNICODE_STRING...\n");
91+
9492
}
9593

9694
return ntStat;
@@ -166,10 +164,6 @@ NTSTATUS FillUnicodeString(UNICODE_STRING *lsaStr, const Char *str)
166164

167165
fail:
168166

169-
if (ntStat)
170-
{
171-
DBG_MSG("ERROR. Cannot fill UNICODE_STRING...\n");
172-
}
173167

174168
return ntStat;
175169
}

0 commit comments

Comments
 (0)