diff --git a/lib/MC/MCWin64EH.cpp b/lib/MC/MCWin64EH.cpp index 2e4eea3411f..8bc1f08c887 100644 --- a/lib/MC/MCWin64EH.cpp +++ b/lib/MC/MCWin64EH.cpp @@ -517,7 +517,6 @@ static void ARM64EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) { auto &EpilogInstrs = I.second; uint32_t CodeBytes = ARM64CountOfUnwindCodes(EpilogInstrs); - uint32_t NumUnwindCodes = EpilogInstrs.size(); MCSymbol* MatchingEpilog = FindMatchingEpilog(EpilogInstrs, AddedEpilogs, info); if (MatchingEpilog) {