From 43d655eaf58add56258a405f62febe06545e4603 Mon Sep 17 00:00:00 2001 From: Eugene Rozenfeld Date: Thu, 20 Dec 2018 15:58:29 -0800 Subject: [PATCH] Fix jit warning in crossgen desktop build. Commit migrated from https://github.com/dotnet/coreclr/commit/75c8c54950c78f1192e481a5bbd6eeff1b3bd1cd --- src/coreclr/src/jit/gentree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/jit/gentree.cpp b/src/coreclr/src/jit/gentree.cpp index 002ac8e..47d2659 100644 --- a/src/coreclr/src/jit/gentree.cpp +++ b/src/coreclr/src/jit/gentree.cpp @@ -6705,7 +6705,7 @@ GenTreeAllocObj* Compiler::gtNewAllocObjNode(CORINFO_RESOLVED_TOKEN* pResolvedTo GenTree* opHandle = impTokenToHandle(pResolvedToken, pRuntimeLookup, mustRestoreHandle, useParent); #ifdef FEATURE_READYTORUN_COMPILER - CORINFO_CONST_LOOKUP lookup; + CORINFO_CONST_LOOKUP lookup = {}; if (opts.IsReadyToRun()) { -- 2.7.4