From b31ec0562a7e916301585001968ac5522aa20e84 Mon Sep 17 00:00:00 2001 From: Robin Sue Date: Sun, 3 Jun 2018 20:12:26 +0200 Subject: Warnings cleanup (#18260) * Cleanup all disabled warnings that do not trigger * Fix warning about line continuation in single line comment * Eliminiate all unreferenced local variables and reenable warning --- src/unwinder/amd64/unwinder_amd64.cpp | 3 --- src/unwinder/arm64/unwinder_arm64.cpp | 2 -- 2 files changed, 5 deletions(-) (limited to 'src/unwinder') diff --git a/src/unwinder/amd64/unwinder_amd64.cpp b/src/unwinder/amd64/unwinder_amd64.cpp index c04db21dfd..65da7862a5 100644 --- a/src/unwinder/amd64/unwinder_amd64.cpp +++ b/src/unwinder/amd64/unwinder_amd64.cpp @@ -452,7 +452,6 @@ HRESULT. ULONG OpInfo; PULONG64 ReturnAddress; PULONG64 StackAddress; - NTSTATUS Status; PUNWIND_INFO UnwindInfo; UNWIND_CODE UnwindOp; @@ -978,8 +977,6 @@ Return Value: if ((UnwindInfo->Flags & UNW_FLAG_CHAININFO) != 0) { - _PIMAGE_RUNTIME_FUNCTION_ENTRY ChainEntry; - Index = UnwindInfo->CountOfUnwindCodes; if ((Index & 1) != 0) { Index += 1; diff --git a/src/unwinder/arm64/unwinder_arm64.cpp b/src/unwinder/arm64/unwinder_arm64.cpp index c9f07eb4b7..4c63815ccd 100644 --- a/src/unwinder/arm64/unwinder_arm64.cpp +++ b/src/unwinder/arm64/unwinder_arm64.cpp @@ -658,7 +658,6 @@ Return Value: ULONG FunctionLength; ULONG HeaderWord; ULONG NextCode; - ULONG Offset; DWORD64 OffsetInFunction; ULONG ScopeNum; ULONG ScopeSize; @@ -1293,7 +1292,6 @@ Return Value: ULONG HBit; ULONG HOpcodes; ULONG IRegOpcodes; - ULONG InstCount; ULONG IntSize; ULONG LocalSize; DWORD64 OffsetInFunction; -- cgit v1.2.3