From e705074c397d50e995f73dcc8c75174bbee13673 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 24 Jun 2016 14:31:09 +0000 Subject: 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 --- llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib/ExecutionEngine') diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h b/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h index bcd2860ad3c..ff7d1d43925 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(Value) << '\n'); + static_cast(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(Value) << '\n'); + static_cast(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(Value) << '\n'); + static_cast(Value); llvm_unreachable("unimplemented relocation"); break; } -- cgit v1.2.3