ntdll/tests: Make sure a return value is used (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-10 13:27:48 -08:00 committed by Alexandre Julliard
parent 92f48ef6ec
commit 39ef0b9d12
1 changed files with 1 additions and 0 deletions

View File

@ -244,6 +244,7 @@ static void testExpand(void)
us_dst.Buffer = NULL;
nts = pRtlExpandEnvironmentStrings_U(small_env, &us_src, &us_dst, &ul);
ok(nts == STATUS_BUFFER_TOO_SMALL, "Call failed (%u)\n", nts);
ok(ul == strlen(test->dst) * sizeof(WCHAR) + sizeof(WCHAR),
"Wrong returned length for %s: %u\n", test->src, ul );