Silence -Wmissing-braces warning from clang-cl

The first element of STACKFRAME64 is a struct and Clang wants us to put
braces around it's initialization. Instead, drop the zero. The result
should be the same.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231387 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner 2015-03-05 18:26:58 +00:00
parent 9f7c861416
commit f836cd08e5

View File

@ -383,7 +383,7 @@ void sys::PrintStackTraceOnErrorSignal() {
void llvm::sys::PrintStackTrace(FILE *File) {
STACKFRAME64 StackFrame = {0};
STACKFRAME64 StackFrame = {};
CONTEXT Context = {0};
::RtlCaptureContext(&Context);
#if defined(_M_X64)