Skip to content

Commit

Permalink
Fix NativeAOT JIT-EE bug (#87378)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalPetryka authored Jun 11, 2023
1 parent 63a9458 commit 0ea4609
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2784,9 +2784,9 @@ private CorInfoType getChildType(CORINFO_CLASS_STRUCT_* clsHnd, CORINFO_CLASS_ST
result = asCorInfoType(returnType, clsRet);
}
else
#pragma warning disable IDE0059 // Unnecessary assignment of a value
clsRet = null;
#pragma warning restore IDE0059 // Unnecessary assignment of a value
{
*clsRet = null;
}

return result;
}
Expand Down

0 comments on commit 0ea4609

Please sign in to comment.