atl: Remove dead assignment
Bruno Jesus
00cpxxx at gmail.com
Thu Oct 30 20:22:55 CDT 2014
[dlls\atl\registrar.c:383] -> [dlls\atl\registrar.c:387]:
(performance) Variable 'hres' is reassigned a value before the old one
has been used.
-------------- next part --------------
diff --git a/dlls/atl/registrar.c b/dlls/atl/registrar.c
index 90c5b5b..b0a8b7c 100644
--- a/dlls/atl/registrar.c
+++ b/dlls/atl/registrar.c
@@ -380,7 +380,7 @@ static HRESULT do_process_root_key(LPCOLESTR data, BOOL do_register)
{
LPCOLESTR iter = data;
strbuf buf;
- HRESULT hres = S_OK;
+ HRESULT hres;
unsigned int i;
strbuf_init(&buf);
More information about the wine-patches
mailing list