[Lldb-commits] [lldb] r331375 - Silence compiler warning.
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Wed May 2 10:11:43 PDT 2018
Author: adrian
Date: Wed May 2 10:11:43 2018
New Revision: 331375
URL: http://llvm.org/viewvc/llvm-project?rev=331375&view=rev
Log:
Silence compiler warning.
Modified:
lldb/trunk/tools/debugserver/source/RNBRemote.cpp
Modified: lldb/trunk/tools/debugserver/source/RNBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/RNBRemote.cpp?rev=331375&r1=331374&r2=331375&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp (original)
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp Wed May 2 10:11:43 2018
@@ -6091,6 +6091,7 @@ rnb_err_t RNBRemote::HandlePacket_qProce
for (uint32_t i = 0; i < mh.ncmds && !os_handled; ++i) {
const nub_size_t bytes_read =
DNBProcessMemoryRead(pid, load_command_addr, sizeof(lc), &lc);
+ (void)bytes_read;
uint32_t major_version, minor_version, patch_version;
auto *platform = DNBGetDeploymentInfo(pid, lc, load_command_addr,
More information about the lldb-commits
mailing list