diff --git a/src/coreclr/jit/gcinfo.cpp b/src/coreclr/jit/gcinfo.cpp index cf3e88d7edbdcf..932e1da5aa2e69 100644 --- a/src/coreclr/jit/gcinfo.cpp +++ b/src/coreclr/jit/gcinfo.cpp @@ -382,12 +382,7 @@ GCInfo::regPtrDsc* GCInfo::gcRegPtrAllocDsc() /* Allocate a new entry and initialize it */ - regPtrNext = new (m_compiler, CMK_GC) regPtrDsc; - - regPtrNext->rpdIsThis = false; - - regPtrNext->rpdOffs = 0; - regPtrNext->rpdNext = nullptr; + regPtrNext = new (m_compiler, CMK_GC) regPtrDsc{}; // Append the entry to the end of the list. if (gcRegPtrLast == nullptr)