[Orc] Fix werror for unused variable in noasserts build

This commit is contained in:
Bjorn Pettersson 2020-08-14 15:58:04 +02:00
parent 5f6bee77fa
commit b395d67a88
1 changed files with 2 additions and 0 deletions

View File

@ -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) {