https://git.reactos.org/?p=reactos.git;a=commitdiff;h=902cdbc63a554c43a4004…
commit 902cdbc63a554c43a4004b27b1c72d463bbda23d
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Tue Dec 13 10:36:02 2022 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Wed Jan 4 10:32:28 2023 +0100
[ATL] Remove an assert that doesn't exist in the native ATL
This fixes an ATL assert in shell32_winetest:assoc and
shell32_winetest:shfldr_special
---
sdk/lib/atl/atlbase.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/lib/atl/atlbase.h b/sdk/lib/atl/atlbase.h
index a9408bb01a4..3ea33690c6b 100644
--- a/sdk/lib/atl/atlbase.h
+++ b/sdk/lib/atl/atlbase.h
@@ -1516,7 +1516,7 @@ inline HRESULT __stdcall AtlInternalQueryInterface(void *pThis,
const _ATL_INTMA
ATLASSERT(pThis != NULL && pEntries != NULL);
if (pThis == NULL || pEntries == NULL)
return E_INVALIDARG;
- ATLASSERT(ppvObject != NULL);
+
if (ppvObject == NULL)
return E_POINTER;