Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
07ae2992
Commit
07ae2992
authored
May 03, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
May 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Remove unused variables.
parent
dbe65d03
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
15 deletions
+0
-15
ftp.c
dlls/wininet/ftp.c
+0
-4
http.c
dlls/wininet/http.c
+0
-5
urlcache.c
dlls/wininet/urlcache.c
+0
-6
No files found.
dlls/wininet/ftp.c
View file @
07ae2992
...
...
@@ -2547,11 +2547,9 @@ INT FTP_ReceiveResponse(LPWININETFTPSESSIONW lpwfs, DWORD_PTR dwContext)
INT
rc
=
0
;
char
firstprefix
[
5
];
BOOL
multiline
=
FALSE
;
LPWININETAPPINFOW
hIC
=
NULL
;
TRACE
(
"socket(%d)
\n
"
,
lpwfs
->
sndSocket
);
hIC
=
lpwfs
->
lpAppInfo
;
SendAsyncCallback
(
&
lpwfs
->
hdr
,
dwContext
,
INTERNET_STATUS_RECEIVING_RESPONSE
,
NULL
,
0
);
while
(
1
)
...
...
@@ -3168,7 +3166,6 @@ lend:
static
BOOL
FTP_RetrieveFileData
(
LPWININETFTPSESSIONW
lpwfs
,
INT
nDataSocket
,
HANDLE
hFile
)
{
DWORD
nBytesWritten
;
DWORD
nBytesReceived
=
0
;
INT
nRC
=
0
;
CHAR
*
lpszBuffer
;
...
...
@@ -3190,7 +3187,6 @@ static BOOL FTP_RetrieveFileData(LPWININETFTPSESSIONW lpwfs, INT nDataSocket, HA
if
(
nRC
==
0
)
goto
recv_end
;
WriteFile
(
hFile
,
lpszBuffer
,
nRC
,
&
nBytesWritten
,
NULL
);
nBytesReceived
+=
nRC
;
}
}
...
...
dlls/wininet/http.c
View file @
07ae2992
...
...
@@ -1375,7 +1375,6 @@ static void HTTPREQ_CloseConnection(WININETHANDLEHEADER *hdr)
{
LPWININETHTTPREQW
lpwhr
=
(
LPWININETHTTPREQW
)
hdr
;
LPWININETHTTPSESSIONW
lpwhs
=
NULL
;
LPWININETAPPINFOW
hIC
=
NULL
;
TRACE
(
"%p
\n
"
,
lpwhr
);
...
...
@@ -1408,7 +1407,6 @@ static void HTTPREQ_CloseConnection(WININETHANDLEHEADER *hdr)
}
lpwhs
=
lpwhr
->
lpHttpSession
;
hIC
=
lpwhs
->
lpAppInfo
;
INTERNET_SendCallback
(
&
lpwhr
->
hdr
,
lpwhr
->
hdr
.
dwContext
,
INTERNET_STATUS_CLOSING_CONNECTION
,
0
,
0
);
...
...
@@ -3463,7 +3461,6 @@ HINTERNET HTTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName,
LPCWSTR
lpszPassword
,
DWORD
dwFlags
,
DWORD_PTR
dwContext
,
DWORD
dwInternalFlags
)
{
BOOL
bSuccess
=
FALSE
;
LPWININETHTTPSESSIONW
lpwhs
=
NULL
;
HINTERNET
handle
=
NULL
;
...
...
@@ -3534,8 +3531,6 @@ HINTERNET HTTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName,
sizeof
(
handle
));
}
bSuccess
=
TRUE
;
lerror:
if
(
lpwhs
)
WININET_Release
(
&
lpwhs
->
hdr
);
...
...
dlls/wininet/urlcache.c
View file @
07ae2992
...
...
@@ -1139,12 +1139,6 @@ static DWORD URLCache_HashKey(LPCSTR lpszKey)
};
BYTE
key
[
4
];
DWORD
i
;
int
subscript
[
sizeof
(
key
)
/
sizeof
(
key
[
0
])];
subscript
[
0
]
=
*
lpszKey
;
subscript
[
1
]
=
(
char
)(
*
lpszKey
+
1
);
subscript
[
2
]
=
(
char
)(
*
lpszKey
+
2
);
subscript
[
3
]
=
(
char
)(
*
lpszKey
+
3
);
for
(
i
=
0
;
i
<
sizeof
(
key
)
/
sizeof
(
key
[
0
]);
i
++
)
key
[
i
]
=
lookupTable
[
i
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment