[PATCH] urlmon: Fix potential use of uninitialized variable (Clang).
Charles Davis
cdavis5x at gmail.com
Tue Sep 18 00:49:50 CDT 2012
---
dlls/urlmon/http.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/urlmon/http.c b/dlls/urlmon/http.c
index 18a99ae..ee2ec1a 100644
--- a/dlls/urlmon/http.c
+++ b/dlls/urlmon/http.c
@@ -218,6 +218,8 @@ static HRESULT handle_http_error(HttpProtocol *This, DWORD error)
if(FAILED(hres))
hwnd = NULL;
}
+ else
+ hwnd = NULL;
dlg_flags = FLAGS_ERROR_UI_FLAGS_CHANGE_OPTIONS | FLAGS_ERROR_UI_FLAGS_GENERATE_DATA;
--
1.7.12
More information about the wine-patches
mailing list