Fixed warnings.

This commit is contained in:
Alexandre Julliard 2002-12-17 21:03:33 +00:00
parent 66da6c85e8
commit 3121fdac41

View file

@ -85,7 +85,7 @@ void winapi_test(int flags)
DWORD length;
DWORD out;
const char *types[2] = { "*", NULL };
HINTERNET hi,hic,hor;
HINTERNET hi, hic = 0, hor = 0;
trace("Starting with flags 0x%x\n",flags);
@ -190,7 +190,7 @@ abort:
rc = InternetCloseHandle(hor);
ok ((rc != 0), "InternetCloseHandle of handle opened by HttpOpenRequestA failed");
}
if (hor != 0x0) {
if (hic != 0x0) {
rc = InternetCloseHandle(hic);
ok ((rc != 0), "InternetCloseHandle of handle opened by InternetConnectA failed");
}