summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-03-05 18:26:58 +0000
committerReid Kleckner <reid@kleckner.net>2015-03-05 18:26:58 +0000
commite658058cc07ef89480f641e88d720efbad13e122 (patch)
treec45dd9afbb9809888bf7ae036fa93021a31cb7fe
parentcfb9ce53c1e8b7579743f602b3d1f3c4394338b3 (diff)
downloadbcm5719-llvm-e658058cc07ef89480f641e88d720efbad13e122.tar.gz
bcm5719-llvm-e658058cc07ef89480f641e88d720efbad13e122.zip
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
-rw-r--r--llvm/lib/Support/Windows/Signals.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Signals.inc b/llvm/lib/Support/Windows/Signals.inc
index 7a35741a470..455ac95907b 100644
--- a/llvm/lib/Support/Windows/Signals.inc
+++ b/llvm/lib/Support/Windows/Signals.inc
@@ -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)
OpenPOWER on IntegriCloud