From a64ec00ddaf9cb6ec3bef642ce5aece6ee3318d8 Mon Sep 17 00:00:00 2001 From: Eugene Rozenfeld Date: Thu, 20 Dec 2018 04:52:09 -0800 Subject: [PATCH] Fix jit warning. (dotnet/coreclr#21600) Commit migrated from https://github.com/dotnet/coreclr/commit/03bf11bd51099c5647a818d1e29e27ce3747c578 --- 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 ad348595479..002ac8e7e2b 100644 --- a/src/coreclr/src/jit/gentree.cpp +++ b/src/coreclr/src/jit/gentree.cpp @@ -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