Commit bb59c3f7 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent 73eff665
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment