diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-06-24 14:31:09 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-06-24 14:31:09 +0000 |
commit | e705074c397d50e995f73dcc8c75174bbee13673 (patch) | |
tree | 921ac5d17a800713541153f48bbcaac43b8f488e /llvm/lib/ExecutionEngine | |
parent | 90ea9ebb003512713a7955c105f0fd9eb8d7ce7c (diff) | |
download | llvm-e705074c397d50e995f73dcc8c75174bbee13673.zip llvm-e705074c397d50e995f73dcc8c75174bbee13673.tar.gz llvm-e705074c397d50e995f73dcc8c75174bbee13673.tar.bz2 |
ExecutionEngine: silence unused value warning
The Value is only used in debug or asserts builds. Just cast to void to silence
an unused variable warning.
llvm-svn: 273684
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h b/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h index bcd2860..ff7d1d4 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h @@ -244,6 +244,7 @@ public: DEBUG(dbgs() << "\t\tOffset: " << RE.Offset << " RelType: IMAGE_REL_ARM_BRANCH20T" << " Value: " << static_cast<int32_t>(Value) << '\n'); + static_cast<void>(Value); llvm_unreachable("unimplemented relocation"); break; } @@ -258,6 +259,7 @@ public: DEBUG(dbgs() << "\t\tOffset: " << RE.Offset << " RelType: IMAGE_REL_ARM_BRANCH24T" << " Value: " << static_cast<int32_t>(Value) << '\n'); + static_cast<void>(Value); llvm_unreachable("unimplemented relocation"); break; } @@ -272,6 +274,7 @@ public: DEBUG(dbgs() << "\t\tOffset: " << RE.Offset << " RelType: IMAGE_REL_ARM_BLX23T" << " Value: " << static_cast<int32_t>(Value) << '\n'); + static_cast<void>(Value); llvm_unreachable("unimplemented relocation"); break; } |