From f97e15ef455f8235521fd1642f29b08ebfb746ff Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 13 Jun 2022 11:47:58 +0100 Subject: [PATCH] [ARM] Fix "local variable is initialized but not referenced" MSVX warning. NFC --- llvm/lib/Target/ARM/Thumb1FrameLowering.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp b/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp index 48688cb..e762a64 100644 --- a/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp +++ b/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp @@ -468,7 +468,6 @@ void Thumb1FrameLowering::emitEpilogue(MachineFunction &MF, int NumBytes = (int)MFI.getStackSize(); assert((unsigned)NumBytes >= ArgRegsSaveSize && "ArgRegsSaveSize is included in NumBytes"); - const MCPhysReg *CSRegs = RegInfo->getCalleeSavedRegs(&MF); Register FramePtr = RegInfo->getFrameRegister(MF); if (!AFI->hasStackFrame()) { -- 2.7.4