mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
[Coverity] Fix some duplicate defects that I didn't notice
This commit is contained in:
@@ -385,7 +385,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInst,
|
||||
fn = strchr(fn, '/');
|
||||
if(fn) fn++;
|
||||
|
||||
if(*fn)
|
||||
if(fn && *fn)
|
||||
{
|
||||
wchar_t conv[MAX_PATH] = {0};
|
||||
wchar_t *wfn = conv;
|
||||
|
||||
Reference in New Issue
Block a user