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:
parent
73eff6652a
commit
bb59c3f77e
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue