Remove unnecessary IsFirst variable from debug codde in GetDiagInfo.