summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-01-13 21:22:00 +0000
committerZachary Turner <zturner@google.com>2016-01-13 21:22:00 +0000
commita505be4e5d3ba2e8bab6e54047e8d14b840953c9 (patch)
tree13a92ecf99ba4ae6ee5c3cd6f91da22a4f6b8037 /lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
parent673cf7e80b8b0de457811ee069da903b1e5685ca (diff)
downloadbcm5719-llvm-a505be4e5d3ba2e8bab6e54047e8d14b840953c9.tar.gz
bcm5719-llvm-a505be4e5d3ba2e8bab6e54047e8d14b840953c9.zip
Fix some compiler warnings with MSVC 2015.
llvm-svn: 257671
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp')
-rw-r--r--lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp b/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
index 86c574f2776..4f4d476d62c 100644
--- a/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
+++ b/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
@@ -506,7 +506,7 @@ OperatingSystemGo::Goroutine
OperatingSystemGo::CreateGoroutineAtIndex(uint64_t idx, Error &err)
{
err.Clear();
- Goroutine result;
+ Goroutine result = {};
ValueObjectSP g = m_allg_sp->GetSyntheticArrayMember(idx, true)->Dereference(err);
if (err.Fail())
{
OpenPOWER on IntegriCloud