Fix jit warning. (dotnet/coreclr#21600)
authorEugene Rozenfeld <erozen@microsoft.com>
Thu, 20 Dec 2018 12:52:09 +0000 (04:52 -0800)
committerJan Kotas <jkotas@microsoft.com>
Thu, 20 Dec 2018 12:52:09 +0000 (04:52 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/03bf11bd51099c5647a818d1e29e27ce3747c578

src/coreclr/src/jit/gentree.cpp

index ad34859..002ac8e 100644 (file)
@@ -6701,7 +6701,7 @@ GenTreeAllocObj* Compiler::gtNewAllocObjNode(CORINFO_RESOLVED_TOKEN* pResolvedTo
     const BOOL      mustRestoreHandle     = TRUE;
     BOOL* const     pRuntimeLookup        = nullptr;
     bool            usingReadyToRunHelper = false;
-    CorInfoHelpFunc helper;
+    CorInfoHelpFunc helper                = CORINFO_HELP_UNDEF;
     GenTree*        opHandle = impTokenToHandle(pResolvedToken, pRuntimeLookup, mustRestoreHandle, useParent);
 
 #ifdef FEATURE_READYTORUN_COMPILER