mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
[Coverity] Remove unneeded if check before exit
This commit is contained in:
@@ -508,12 +508,8 @@ ID3DBlob *D3D12DebugManager::MakeRootSig(const vector<D3D12_ROOT_PARAMETER> &roo
|
||||
RDCERR("Root signature serialize error:\n%s", logerror.c_str());
|
||||
|
||||
SAFE_RELEASE(errBlob);
|
||||
|
||||
if(FAILED(hr))
|
||||
{
|
||||
SAFE_RELEASE(ret);
|
||||
return NULL;
|
||||
}
|
||||
SAFE_RELEASE(ret);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
SAFE_RELEASE(errBlob);
|
||||
|
||||
Reference in New Issue
Block a user