From 5024536352f8473e3b3115361e0e78ed22f873d5 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 5 Dec 2013 19:37:36 +0000 Subject: Fix minor GCC warnings. Unused typedefs and unused variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196526 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lli/ChildTarget/ChildTarget.cpp | 1 + tools/lli/RemoteTargetExternal.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'tools/lli') 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."); -- cgit v1.2.3