d3d9: Remove some useless ERRs (LLVM/Clang).
This commit is contained in:
parent
73637fcbc6
commit
5c7c31fc87
|
@ -232,10 +232,6 @@ static HRESULT WINAPI IDirect3DSurface9Impl_GetContainer(LPDIRECT3DSURFACE9 ifac
|
||||||
|
|
||||||
if (!This->container) return E_NOINTERFACE;
|
if (!This->container) return E_NOINTERFACE;
|
||||||
|
|
||||||
if (!ppContainer) {
|
|
||||||
ERR("Called without a valid ppContainer\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
res = IUnknown_QueryInterface(This->container, riid, ppContainer);
|
res = IUnknown_QueryInterface(This->container, riid, ppContainer);
|
||||||
|
|
||||||
TRACE("Returning ppContainer %p, *ppContainer %p\n", ppContainer, *ppContainer);
|
TRACE("Returning ppContainer %p, *ppContainer %p\n", ppContainer, *ppContainer);
|
||||||
|
|
|
@ -169,10 +169,6 @@ static HRESULT WINAPI IDirect3DVolume9Impl_GetContainer(LPDIRECT3DVOLUME9 iface,
|
||||||
|
|
||||||
if (!This->container) return E_NOINTERFACE;
|
if (!This->container) return E_NOINTERFACE;
|
||||||
|
|
||||||
if (!ppContainer) {
|
|
||||||
ERR("Called without a valid ppContainer.\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
res = IUnknown_QueryInterface(This->container, riid, ppContainer);
|
res = IUnknown_QueryInterface(This->container, riid, ppContainer);
|
||||||
|
|
||||||
TRACE("Returning ppContainer %p, *ppContainer %p\n", ppContainer, *ppContainer);
|
TRACE("Returning ppContainer %p, *ppContainer %p\n", ppContainer, *ppContainer);
|
||||||
|
|
Loading…
Reference in New Issue