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/zap | |
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/zap')
-rw-r--r-- | src/zap/zapinfo.cpp | 2 | ||||
-rw-r--r-- | src/zap/zapreadytorun.cpp | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/zap/zapinfo.cpp b/src/zap/zapinfo.cpp index 005c562907..a698c80317 100644 --- a/src/zap/zapinfo.cpp +++ b/src/zap/zapinfo.cpp @@ -2642,8 +2642,6 @@ WORD ZapInfo::getRelocTypeHint(void * target) void ZapInfo::getModuleNativeEntryPointRange(void** pStart, void** pEnd) { - ULONG rvaStart, rvaEnd; - // Initialize outparams to default range of (0,0). *pStart = 0; *pEnd = 0; diff --git a/src/zap/zapreadytorun.cpp b/src/zap/zapreadytorun.cpp index e67f9d3ee1..099ef41c2c 100644 --- a/src/zap/zapreadytorun.cpp +++ b/src/zap/zapreadytorun.cpp @@ -408,9 +408,6 @@ void ZapImage::OutputTypesTableForReadyToRun(IMDInternalImport * pMDImport) // Note on duplicate types with same name: there is not need to perform that check when building // the hashtable. If such types were encountered, the R2R compilation would fail before reaching here. - LPCUTF8 pszName; - LPCUTF8 pszNameSpace; - // Save the TypeDefs to the hashtable { HENUMInternalHolder hEnum(pMDImport); |