From: Bruno Jesus <00cpxxx@gmail.com> Subject: atl: Remove dead assignment Message-Id: Date: Thu, 30 Oct 2014 23:22:55 -0200 [dlls\atl\registrar.c:383] -> [dlls\atl\registrar.c:387]: (performance) Variable 'hres' is reassigned a value before the old one has been used. 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);