From 902cdbc63a554c43a4004b27b1c72d463bbda23d Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Tue, 13 Dec 2022 10:36:02 +0200 Subject: [PATCH] [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;