mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
iphlpapi/tests: Initialize a variable.
This commit is contained in:
parent
9ae618f98c
commit
91b6ebefa8
1 changed files with 1 additions and 0 deletions
|
@ -829,6 +829,7 @@ static void test_GetAdaptersAddresses(void)
|
|||
ret = gGetAdaptersAddresses(AF_UNSPEC, 0, NULL, NULL, NULL);
|
||||
ok(ret == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER got %u\n", ret);
|
||||
|
||||
size = 0;
|
||||
ret = gGetAdaptersAddresses(AF_UNSPEC, 0, NULL, NULL, &size);
|
||||
ok(ret == ERROR_BUFFER_OVERFLOW, "expected ERROR_BUFFER_OVERFLOW, got %u\n", ret);
|
||||
if (ret != ERROR_BUFFER_OVERFLOW) return;
|
||||
|
|
Loading…
Reference in a new issue