[4/4] msi: Remove an unneeded assignment.

Hans Leidekker hans at codeweavers.com
Fri Apr 20 03:56:46 CDT 2012


---
 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]);
-- 
1.7.5.4






More information about the wine-patches mailing list