Skip to content

Commit 1e18b48

Browse files
[DWARFCFIChecker] Remove an unused local variable (NFC) (#168487)
Note that getCurrentUnwindRow does not change any state. Identified with unused-local-non-trivial-variable.
1 parent 2befda2 commit 1e18b48

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/DWARFCFIChecker/DWARFCFIState.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ dwarf::CFIProgram DWARFCFIState::convert(MCCFIInstruction Directive) {
6464
/* CodeAlignmentFactor */ 1, /* DataAlignmentFactor */ 1,
6565
Context->getTargetTriple().getArch());
6666

67-
auto MaybeCurrentRow = getCurrentUnwindRow();
6867
switch (Directive.getOperation()) {
6968
case MCCFIInstruction::OpSameValue:
7069
CFIP.addInstruction(dwarf::DW_CFA_same_value, Directive.getRegister());

0 commit comments

Comments
 (0)