Hans Leidekker : iphlpapi/tests: Initialize a variable.
Module: wine Branch: master Commit: 91b6ebefa89cb8e71330348b39835dca78e63ff9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=91b6ebefa89cb8e71330348b39... Author: Hans Leidekker <hans(a)codeweavers.com> Date: Fri Jul 3 11:31:10 2009 +0200 iphlpapi/tests: Initialize a variable. --- dlls/iphlpapi/tests/iphlpapi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c index f879c93..eaada07 100644 --- a/dlls/iphlpapi/tests/iphlpapi.c +++ b/dlls/iphlpapi/tests/iphlpapi.c @@ -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;
participants (1)
-
Alexandre Julliard