From 3f21a0f6cc8e0036ad536c791d7877a35d22cd01 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Tue, 23 Apr 2019 20:21:09 -0700 Subject: [PATCH] Delete unnecessary static and update GCSample to VS2019 (#24204) --- src/gc/gcconfig.cpp | 2 +- src/gc/sample/GCSample.vcxproj | 6 +++--- src/gc/sample/gcenv.ee.cpp | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/gc/gcconfig.cpp b/src/gc/gcconfig.cpp index fa31814..b3a43f1 100644 --- a/src/gc/gcconfig.cpp +++ b/src/gc/gcconfig.cpp @@ -95,7 +95,7 @@ bool ParseGCHeapAffinitizeRanges(const char* cpu_index_ranges, AffinitySet* conf if (cpu_index_ranges != NULL) { - const char* number_end; + const char* number_end = cpu_index_ranges; do { diff --git a/src/gc/sample/GCSample.vcxproj b/src/gc/sample/GCSample.vcxproj index de16164..98dadca 100644 --- a/src/gc/sample/GCSample.vcxproj +++ b/src/gc/sample/GCSample.vcxproj @@ -14,19 +14,19 @@ {58D6B7AE-0A12-49F0-BCF7-200ED8BA445A} Win32Proj GCSample - 10.0.17763.0 + 10.0 Application true - v141 + v142 Unicode Application false - v141 + v142 true Unicode diff --git a/src/gc/sample/gcenv.ee.cpp b/src/gc/sample/gcenv.ee.cpp index 687fd56..abf6e09 100644 --- a/src/gc/sample/gcenv.ee.cpp +++ b/src/gc/sample/gcenv.ee.cpp @@ -13,8 +13,6 @@ MethodTable * g_pFreeObjectMethodTable; EEConfig * g_pConfig; -gc_alloc_context g_global_alloc_context; - bool CLREventStatic::CreateManualEventNoThrow(bool bInitialState) { m_hEvent = CreateEventW(NULL, TRUE, bInitialState, NULL); -- 2.7.4