From cf3801eee83599c8c46b5ad8c6c7dde496d00686 Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Thu, 8 Sep 2016 00:38:22 +0000 Subject: [XRay] Remove unused variable llvm-svn: 280891 --- llvm/lib/CodeGen/XRayInstrumentation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/XRayInstrumentation.cpp') diff --git a/llvm/lib/CodeGen/XRayInstrumentation.cpp b/llvm/lib/CodeGen/XRayInstrumentation.cpp index ea29d4cb597..1035bc3d4a0 100644 --- a/llvm/lib/CodeGen/XRayInstrumentation.cpp +++ b/llvm/lib/CodeGen/XRayInstrumentation.cpp @@ -97,8 +97,8 @@ void XRayInstrumentation::prependRetWithPatchableExit(MachineFunction &MF, for (auto &T : MBB.terminators()) { if (T.isReturn()) { // Prepend the return instruction with PATCHABLE_FUNCTION_EXIT - auto MIB = BuildMI(MBB, T, T.getDebugLoc(), - TII->get(TargetOpcode::PATCHABLE_FUNCTION_EXIT)); + BuildMI(MBB, T, T.getDebugLoc(), + TII->get(TargetOpcode::PATCHABLE_FUNCTION_EXIT)); } } } -- cgit v1.2.3