Hans Leidekker : msi: Remove an unneeded assignment.

Alexandre Julliard julliard at winehq.org
Fri Apr 20 12:49:27 CDT 2012


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Apr 20 10:56:46 2012 +0200

msi: Remove an unneeded assignment.

---

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

diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c
index 31e7b4f..4143a79 100644
--- a/dlls/msi/registry.c
+++ b/dlls/msi/registry.c
@@ -2363,7 +2363,7 @@ static UINT fetch_user_product( const WCHAR *match, const WCHAR *usersid, DWORD
         }
         strcpyW( path, user );
         strcatW( path, subkey );
-        if ((r = RegOpenKeyExW( key_users, path, 0, access, &key_products )))
+        if (RegOpenKeyExW( key_users, path, 0, access, &key_products ))
         {
             i++;
             len_user = sizeof(user)/sizeof(user[0]);




More information about the wine-cvs mailing list