VS2017 warning

This commit is contained in:
Jief L 2020-03-04 19:33:30 +03:00
parent 6417348844
commit 0812cdb6d5

View File

@ -334,7 +334,7 @@ STATIC void CreateInfoLines(IN CONST CHAR16 *Message, OUT XStringWArray* Informa
// } // }
Information->Empty(); Information->Empty();
// Copy strings // Copy strings
CHAR16* Ptr2; CHAR16* Ptr2 = NULL; // VS2017 complains about uninitialized var.
// CHAR16* Ptr2 = Information[Index++] = (CHAR16 *)(Information + Total); // CHAR16* Ptr2 = Information[Index++] = (CHAR16 *)(Information + Total);
// StrCpyS(Ptr2, Length + 1, Message); // StrCpyS(Ptr2, Length + 1, Message);
while ((Index < Total) && while ((Index < Total) &&