Ricardo Filipe : atl: Remove dead store (llvm/clang).

Alexandre Julliard julliard at winehq.org
Fri Nov 21 06:55:10 CST 2008


Module: wine
Branch: master
Commit: d27fa4fcae74ecf6017cd9eae7b8764ded43c625
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d27fa4fcae74ecf6017cd9eae7b8764ded43c625

Author: Ricardo Filipe <ricardo_barbano at hotmail.com>
Date:   Wed Nov 19 21:32:29 2008 +0000

atl: Remove dead store (llvm/clang).

---

 dlls/atl/registrar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/atl/registrar.c b/dlls/atl/registrar.c
index 2b921c5..dd8b7a2 100644
--- a/dlls/atl/registrar.c
+++ b/dlls/atl/registrar.c
@@ -242,7 +242,7 @@ static HRESULT do_process_key(LPCOLESTR *pstr, HKEY parent_key, strbuf *buf, BOO
                 strbuf_write(buf->str, &name, -1);
             }else if(key_type == DO_DELETE) {
                 TRACE("Deleting %s\n", debugstr_w(buf->str));
-                lres = RegDeleteTreeW(parent_key, buf->str);
+                RegDeleteTreeW(parent_key, buf->str);
             }else {
                 if(key_type == FORCE_REMOVE)
                     RegDeleteTreeW(parent_key, buf->str);




More information about the wine-cvs mailing list