forked from OSchip/llvm-project
[Orc] Fix werror for unused variable in noasserts build
This commit is contained in:
parent
5f6bee77fa
commit
b395d67a88
|
@ -408,7 +408,9 @@ public:
|
|||
return errorCodeToError(EC);
|
||||
|
||||
char *SlabAddr = static_cast<char *>(HostAllocation.base());
|
||||
#ifndef NDEBUG
|
||||
char *SlabAddrEnd = SlabAddr + HostAllocation.allocatedSize();
|
||||
#endif
|
||||
|
||||
// Allocate segment memory from the slab.
|
||||
for (auto &KV : Request) {
|
||||
|
|
Loading…
Reference in New Issue