Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 0b559dd

Browse files
committed
[XRay] Remove unused variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280891 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 339ade7 commit 0b559dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/CodeGen/XRayInstrumentation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ void XRayInstrumentation::prependRetWithPatchableExit(MachineFunction &MF,
9797
for (auto &T : MBB.terminators()) {
9898
if (T.isReturn()) {
9999
// Prepend the return instruction with PATCHABLE_FUNCTION_EXIT
100-
auto MIB = BuildMI(MBB, T, T.getDebugLoc(),
101-
TII->get(TargetOpcode::PATCHABLE_FUNCTION_EXIT));
100+
BuildMI(MBB, T, T.getDebugLoc(),
101+
TII->get(TargetOpcode::PATCHABLE_FUNCTION_EXIT));
102102
}
103103
}
104104
}

0 commit comments

Comments
 (0)