Commit 3675b703 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

kernel32/tests: Add missing return value check to module tests (Coverity).

parent 8bb6addb
......@@ -972,7 +972,8 @@ static void test_AddDllDirectory(void)
buf[0] = '\0';
GetTempPathW( sizeof(path)/sizeof(path[0]), path );
GetTempFileNameW( path, tmpW, 0, buf );
ret = GetTempFileNameW( path, tmpW, 0, buf );
ok( ret, "GetTempFileName failed err %u\n", GetLastError() );
SetLastError( 0xdeadbeef );
cookie = pAddDllDirectory( buf );
ok( cookie != NULL, "AddDllDirectory failed err %u\n", GetLastError() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment