kernel32/tests: Add missing return value check to module tests (Coverity).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8bb6addb1e
commit
3675b7035e
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue