atl: Remove dead assignment
Bruno Jesus
00cpxxx at gmail.com
Thu Oct 30 20:20:35 CDT 2014
[dlls\atl\registrar.c:187] -> [dlls\atl\registrar.c:206]:
(performance) Variable 'iter' 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..32e207e 100644
--- a/dlls/atl/registrar.c
+++ b/dlls/atl/registrar.c
@@ -184,7 +184,7 @@ static HRESULT do_preprocess(const Registrar *This, LPCOLESTR data, strbuf *buf)
static HRESULT do_process_key(LPCOLESTR *pstr, HKEY parent_key, strbuf *buf, BOOL do_register)
{
- LPCOLESTR iter = *pstr;
+ LPCOLESTR iter;
HRESULT hres;
LONG lres;
HKEY hkey = 0;
More information about the wine-patches
mailing list