wininet: Remove a bit of dead code (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2015-11-23 02:17:18 +03:00 committed by Alexandre Julliard
parent 73eff6652a
commit bb59c3f77e
1 changed files with 1 additions and 3 deletions

View File

@ -416,8 +416,6 @@ static INT_PTR WINAPI WININET_InvalidCertificateDialog(
case WM_COMMAND:
if( wParam == IDOK )
{
BOOL res = TRUE;
if( params->dwFlags & FLAGS_ERROR_UI_FLAGS_CHANGE_OPTIONS )
{
http_request_t *req = params->req;
@ -456,7 +454,7 @@ static INT_PTR WINAPI WININET_InvalidCertificateDialog(
req->netconn->security_flags |= flags;
}
EndDialog( hdlg, res ? ERROR_SUCCESS : ERROR_NOT_SUPPORTED );
EndDialog( hdlg, ERROR_SUCCESS );
return TRUE;
}
if( wParam == IDCANCEL )