mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 16:18:38 +00:00
Fixed warnings.
This commit is contained in:
parent
66da6c85e8
commit
3121fdac41
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue