diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2017-03-23 09:52:26 +0000 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2017-03-23 09:52:26 +0000 |
| commit | ef4536c38968517405a4429bacf5be0add0ea99e (patch) | |
| tree | 8adcba1d45770668658bc5acc32676e716ccc327 /lldb/source/Plugins/Process/Utility | |
| parent | 93683b6aff93b938c2d996a5b39ada20e12e751d (diff) | |
| download | bcm5719-llvm-ef4536c38968517405a4429bacf5be0add0ea99e.tar.gz bcm5719-llvm-ef4536c38968517405a4429bacf5be0add0ea99e.zip | |
Fix warnings from clang build on macOS.
Reviewers: lldb-commits
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D31279
llvm-svn: 298585
Diffstat (limited to 'lldb/source/Plugins/Process/Utility')
| -rw-r--r-- | lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp b/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp index d1bc33dbabd..5e933d3b3de 100644 --- a/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp +++ b/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp @@ -281,6 +281,7 @@ DynamicRegisterInfo::SetRegisterInfo(const StructuredData::Dictionary &dict, // Swap "dwarf_opcode_string" over into "opcode_extractor" opcode_extractor.GetStringRef().swap(dwarf_opcode_string); uint32_t ret_val = opcode_extractor.GetHexBytesAvail(dwarf_opcode_bytes); + UNUSED_IF_ASSERT_DISABLED(ret_val); assert(ret_val == reg_info.dynamic_size_dwarf_len); for (j = 0; j < reg_info.dynamic_size_dwarf_len; ++j) |

