forked from OSchip/llvm-project
[lld-link] Fix -Wunused-but-set-variable in -DLLVM_ENABLE_ASSERTIONS=off build. NFC
This commit is contained in:
parent
521d373274
commit
50225112b5
|
@ -595,6 +595,7 @@ void Writer::finalizeAddresses() {
|
|||
// If the verification above thought we needed thunks, we should have
|
||||
// added some.
|
||||
assert(addressesChanged);
|
||||
(void)addressesChanged;
|
||||
|
||||
// Recalculate the layout for the whole image (and verify the ranges at
|
||||
// the start of the next round).
|
||||
|
|
Loading…
Reference in New Issue