diff options
Diffstat (limited to 'tools/lli')
-rw-r--r-- | tools/lli/ChildTarget/ChildTarget.cpp | 1 | ||||
-rw-r--r-- | tools/lli/RemoteTargetExternal.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/lli/ChildTarget/ChildTarget.cpp b/tools/lli/ChildTarget/ChildTarget.cpp index 55fcae9def..c177a047db 100644 --- a/tools/lli/ChildTarget/ChildTarget.cpp +++ b/tools/lli/ChildTarget/ChildTarget.cpp @@ -99,6 +99,7 @@ void LLIChildTarget::handleAllocateSpace() { // Read and verify the message data size. uint32_t DataSize; int rc = ReadBytes(&DataSize, 4); + (void)rc; assert(rc == 4); assert(DataSize == 8); diff --git a/tools/lli/RemoteTargetExternal.cpp b/tools/lli/RemoteTargetExternal.cpp index 742a948c00..f6ed8496eb 100644 --- a/tools/lli/RemoteTargetExternal.cpp +++ b/tools/lli/RemoteTargetExternal.cpp @@ -59,6 +59,7 @@ void RemoteTargetExternal::stop() { void RemoteTargetExternal::SendAllocateSpace(uint32_t Alignment, uint32_t Size) { int rc; + (void)rc; uint32_t MsgType = (uint32_t)LLI_AllocateSpace; rc = WriteBytes(&MsgType, 4); assert(rc == 4 && "Error writing message type."); |