diff options
author | Robin Sue <robinsue@live.de> | 2018-06-03 20:12:26 +0200 |
---|---|---|
committer | Sergey Andreenko <seandree@microsoft.com> | 2018-06-03 11:12:26 -0700 |
commit | b31ec0562a7e916301585001968ac5522aa20e84 (patch) | |
tree | c386d6d267f005083a61d8d0085e0ad612e42924 /src/unwinder | |
parent | 9791a661155d08f85f862bfc37eff3cd8d7b25cc (diff) | |
download | coreclr-b31ec0562a7e916301585001968ac5522aa20e84.tar.gz coreclr-b31ec0562a7e916301585001968ac5522aa20e84.tar.bz2 coreclr-b31ec0562a7e916301585001968ac5522aa20e84.zip |
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
Diffstat (limited to 'src/unwinder')
-rw-r--r-- | src/unwinder/amd64/unwinder_amd64.cpp | 3 | ||||
-rw-r--r-- | src/unwinder/arm64/unwinder_arm64.cpp | 2 |
2 files changed, 0 insertions, 5 deletions
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; |