mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-09 22:13:07 +00:00
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:
parent
9f7c861416
commit
f836cd08e5
@ -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…
x
Reference in New Issue
Block a user