mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-25 02:28:18 +00:00
Fix unused variable warning in Release builds. NFC.
llvm-svn: 288401
This commit is contained in:
parent
9676d5ed59
commit
6a8704c1c0
@ -122,7 +122,7 @@ DIEAbbrev DIE::generateAbbrev() const {
|
||||
unsigned DIE::getDebugSectionOffset() const {
|
||||
const DIEUnit *Unit = getUnit();
|
||||
assert(Unit && "DIE must be owned by a DIEUnit to get its absolute offset");
|
||||
return getUnit()->getDebugSectionOffset() + getOffset();
|
||||
return Unit->getDebugSectionOffset() + getOffset();
|
||||
}
|
||||
|
||||
const DIE *DIE::getUnitDie() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user