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.

llvm-svn: 231387
This commit is contained in:
Reid Kleckner 2015-03-05 18:26:58 +00:00
parent cfb9ce53c1
commit e658058cc0
1 changed files with 1 additions and 1 deletions

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)