Resolve code analysis warnings

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
2025-03-28 17:28:19 +01:00
parent 5fc35751a3
commit 91c9a71a5d
5 changed files with 36 additions and 34 deletions

View File

@@ -16,6 +16,7 @@ namespace UnitTests
{
stdex::utf32_t tmp[0x100];
stdex::strncpy(tmp, u"This is a 🐔Test🐮.");
tmp[_countof(tmp) - 1] = 0;
Assert::IsTrue(stdex::strcmp(U"This is a 🐔Test🐮.", tmp) == 0);
}