Fix jit warning in crossgen desktop build.
authorEugene Rozenfeld <erozen@microsoft.com>
Thu, 20 Dec 2018 23:58:29 +0000 (15:58 -0800)
committerEugene Rozenfeld <erozen@microsoft.com>
Fri, 21 Dec 2018 00:50:43 +0000 (16:50 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/75c8c54950c78f1192e481a5bbd6eeff1b3bd1cd

src/coreclr/src/jit/gentree.cpp

index 002ac8e..47d2659 100644 (file)
@@ -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())
     {