[BOLT] Fix an unused variable warning

This patch fixes:

  bolt/lib/Core/BinaryFunction.cpp:4117:20: error: unused variable
  'FragmentBaseAddress' [-Werror,-Wunused-variable]
This commit is contained in:
Kazu Hirata 2023-08-21 07:57:18 -07:00
parent c34d049706
commit ff22d125a7

View File

@ -4126,6 +4126,7 @@ void BinaryFunction::updateOutputValues(const MCAsmLayout &Layout) {
assert(FragmentBaseAddress == FF.getAddress());
else
assert(FragmentBaseAddress == getOutputAddress());
(void)FragmentBaseAddress;
}
const uint64_t BBAddress =