mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
advapi/tests: CreateFile returns INVALID_HANDLE_VALUE on error (Smatch).
This commit is contained in:
parent
739d89369b
commit
3b8aeb913b
1 changed files with 1 additions and 1 deletions
|
@ -2496,7 +2496,7 @@ static void test_GetSecurityInfo(void)
|
|||
/* Create something. Files have lots of associated security info. */
|
||||
obj = CreateFile(myARGV[0], GENERIC_READ, FILE_SHARE_READ, NULL,
|
||||
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if (!obj)
|
||||
if (obj == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
skip("Couldn't create an object for GetSecurityInfo test\n");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue