diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-12-10 18:55:37 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-12-10 18:55:37 +0000 |
commit | 0f5f015bfd457fe4353aca47ab03f9b59b73bde3 (patch) | |
tree | 485af4f7a09d012e15e85986fa02f5ae61031285 /llvm/tools/lli/RemoteTargetExternal.cpp | |
parent | fe078843a09cf5244c4471ec3b0a6860d24f38f4 (diff) | |
download | bcm5719-llvm-0f5f015bfd457fe4353aca47ab03f9b59b73bde3.tar.gz bcm5719-llvm-0f5f015bfd457fe4353aca47ab03f9b59b73bde3.zip |
Fix gcc warnings.
Unused variable and unused typedef in release build.
llvm-svn: 196947
Diffstat (limited to 'llvm/tools/lli/RemoteTargetExternal.cpp')
-rw-r--r-- | llvm/tools/lli/RemoteTargetExternal.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/tools/lli/RemoteTargetExternal.cpp b/llvm/tools/lli/RemoteTargetExternal.cpp index f6ed8496eb6..f8c581d5747 100644 --- a/llvm/tools/lli/RemoteTargetExternal.cpp +++ b/llvm/tools/lli/RemoteTargetExternal.cpp @@ -80,6 +80,7 @@ void RemoteTargetExternal::SendLoadSection(uint64_t Addr, uint32_t Size, bool IsCode) { int rc; + (void)rc; uint32_t MsgType = IsCode ? LLI_LoadCodeSection : LLI_LoadDataSection; rc = WriteBytes(&MsgType, 4); assert(rc == 4 && "Error writing message type."); @@ -97,6 +98,7 @@ void RemoteTargetExternal::SendLoadSection(uint64_t Addr, void RemoteTargetExternal::SendExecute(uint64_t Addr) { int rc; + (void)rc; uint32_t MsgType = (uint32_t)LLI_Execute; rc = WriteBytes(&MsgType, 4); assert(rc == 4 && "Error writing message type."); @@ -111,6 +113,7 @@ void RemoteTargetExternal::SendExecute(uint64_t Addr) { void RemoteTargetExternal::SendTerminate() { int rc; + (void)rc; uint32_t MsgType = (uint32_t)LLI_Terminate; rc = WriteBytes(&MsgType, 4); assert(rc == 4 && "Error writing message type."); @@ -121,6 +124,7 @@ void RemoteTargetExternal::SendTerminate() { void RemoteTargetExternal::Receive(LLIMessageType ExpectedMsgType) { int rc; + (void)rc; uint32_t MsgType; rc = ReadBytes(&MsgType, 4); assert(rc == 4 && "Error reading message type."); @@ -140,6 +144,7 @@ void RemoteTargetExternal::Receive(LLIMessageType ExpectedMsgType, int &Data) { void RemoteTargetExternal::Receive(LLIMessageType ExpectedMsgType, uint64_t &Data) { int rc; + (void)rc; uint32_t MsgType; rc = ReadBytes(&MsgType, 4); assert(rc == 4 && "Error reading message type."); |