Skip to content

Commit 95d4085

Browse files
committed
zero-initialize returns for the non-r2r case
1 parent 9e73d00 commit 95d4085

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/coreclr/vm/assemblynative.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,7 +1812,7 @@ extern "C" TADDR QCALLTYPE TypeMapLazyDictionary_FindPrecachedExternalTypeMapEnt
18121812
_ASSERTE(pModule != NULL);
18131813
_ASSERTE(!pGroupType.AsTypeHandle().IsNull());
18141814

1815-
TypeHandle resultTypeHnd;
1815+
TypeHandle resultTypeHnd{};
18161816

18171817
BEGIN_QCALL;
18181818

@@ -1845,7 +1845,7 @@ extern "C" TADDR QCALLTYPE TypeMapLazyDictionary_FindPrecachedProxyTypeMapEntry(
18451845
_ASSERTE(pModule != NULL);
18461846
_ASSERTE(!pGroupType.AsTypeHandle().IsNull());
18471847

1848-
TypeHandle resultTypeHnd;
1848+
TypeHandle resultTypeHnd{};
18491849

18501850
BEGIN_QCALL;
18511851

0 commit comments

Comments
 (0)