Skip to content

Commit

Permalink
Compile fix for official release builds. Didn't show up in nightlies!
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Apr 25, 2016
1 parent c6145ff commit cdd7ab2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions renderdoc/core/crash_handler.h
Expand Up @@ -70,8 +70,6 @@ class CrashHandler : public ICrashHandler
wchar_t radpath[MAX_PATH] = {0};
GetModuleFileNameW(GetModuleHandleA("renderdoc.dll"), radpath, MAX_PATH-1);

size_t len = wcslen(radpath);

wchar_t *slash = wcsrchr(radpath, L'\\');

if(slash)
Expand Down Expand Up @@ -101,7 +99,7 @@ class CrashHandler : public ICrashHandler

CreateProcessW(NULL, paramsAlloc, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);

DWORD res = WaitForSingleObject(waitEvent, 2000);
WaitForSingleObject(waitEvent, 2000);

CloseHandle(waitEvent);
}
Expand Down

0 comments on commit cdd7ab2

Please sign in to comment.