mirror of
https://github.com/reactos/wine.git
synced 2025-01-05 18:49:06 +00:00
d3d11: Remove useless NULL check (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
This commit is contained in:
parent
eb58fef698
commit
59a0e3d1f5
@ -342,8 +342,7 @@ HRESULT WINAPI D3D11CreateDeviceAndSwapChain(IDXGIAdapter *adapter, D3D_DRIVER_T
|
||||
return S_OK;
|
||||
|
||||
cleanup:
|
||||
if (device)
|
||||
ID3D11Device_Release(device);
|
||||
ID3D11Device_Release(device);
|
||||
if (obtained_feature_level)
|
||||
*obtained_feature_level = 0;
|
||||
if (immediate_context)
|
||||
|
Loading…
Reference in New Issue
Block a user