Commit 7c83bd84 authored by Charles Davis's avatar Charles Davis Committed by Alexandre Julliard

urlmon: Fix potential use of uninitialized variable (Clang).

parent 10cdc265
......@@ -215,10 +215,9 @@ static HRESULT handle_http_error(HttpProtocol *This, DWORD error)
hres = IWindowForBindingUI_GetWindow(wfb_ui, iid_reason, &hwnd);
IWindowForBindingUI_Release(wfb_ui);
if(FAILED(hres))
hwnd = NULL;
}
if(FAILED(hres)) hwnd = NULL;
dlg_flags = FLAGS_ERROR_UI_FLAGS_CHANGE_OPTIONS | FLAGS_ERROR_UI_FLAGS_GENERATE_DATA;
if(This->base.bindf & BINDF_NO_UI)
......
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