forked from OSchip/llvm-project
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:
parent
cfb9ce53c1
commit
e658058cc0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue