summaryrefslogtreecommitdiff
path: root/src/zap
diff options
context:
space:
mode:
authorRobin Sue <robinsue@live.de>2018-06-03 20:12:26 +0200
committerSergey Andreenko <seandree@microsoft.com>2018-06-03 11:12:26 -0700
commitb31ec0562a7e916301585001968ac5522aa20e84 (patch)
treec386d6d267f005083a61d8d0085e0ad612e42924 /src/zap
parent9791a661155d08f85f862bfc37eff3cd8d7b25cc (diff)
downloadcoreclr-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.cpp2
-rw-r--r--src/zap/zapreadytorun.cpp3
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);