mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-02 18:58:15 +00:00
[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:
parent
c34d049706
commit
ff22d125a7
@ -4126,6 +4126,7 @@ void BinaryFunction::updateOutputValues(const MCAsmLayout &Layout) {
|
||||
assert(FragmentBaseAddress == FF.getAddress());
|
||||
else
|
||||
assert(FragmentBaseAddress == getOutputAddress());
|
||||
(void)FragmentBaseAddress;
|
||||
}
|
||||
|
||||
const uint64_t BBAddress =
|
||||
|
Loading…
Reference in New Issue
Block a user