rtl: remove unnecessary double setter in RtlInitUnicodeString

This commit is contained in:
RadWolfie 2023-12-20 09:31:35 -06:00
parent 1f1d1ac631
commit 4d9151ca26
1 changed files with 0 additions and 1 deletions

View File

@ -1197,7 +1197,6 @@ XBSYSAPI EXPORTNUM(290) xbox::void_xt NTAPI xbox::RtlInitUnicodeString
DestinationString->Buffer = (wchar_xt*)SourceString;
if (SourceString != NULL) {
DestinationString->Buffer = (wchar_xt*)SourceString;
DestinationString->Length = (USHORT)std::u16string(SourceString).length() * 2;
DestinationString->MaximumLength = DestinationString->Length + 2;
}