From 0b559dd7d31379ed991b8d5e31fd677020cbaf2c Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Thu, 8 Sep 2016 00:38:22 +0000 Subject: [PATCH] [XRay] Remove unused variable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280891 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/XRayInstrumentation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/XRayInstrumentation.cpp b/lib/CodeGen/XRayInstrumentation.cpp index ea29d4cb597..1035bc3d4a0 100644 --- a/lib/CodeGen/XRayInstrumentation.cpp +++ b/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)); } } }