Akihiro Sagawa : advapi32: Remove unused parameter.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Dec 18 15:03:49 CST 2014
Module: wine
Branch: master
Commit: 9f9104d6bd891e96b1d6218daf1e1bf23e199b58
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9f9104d6bd891e96b1d6218daf1e1bf23e199b58
Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date: Fri Dec 19 00:21:36 2014 +0900
advapi32: Remove unused parameter.
---
dlls/advapi32/registry.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index 7675a59..8e33ab3 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -103,7 +103,7 @@ static BOOL is_wow6432node( const UNICODE_STRING *name )
}
/* open the Wow6432Node subkey of the specified key */
-static HANDLE open_wow6432node( HANDLE key, const UNICODE_STRING *name )
+static HANDLE open_wow6432node( HANDLE key )
{
static const WCHAR wow6432nodeW[] = {'W','o','w','6','4','3','2','N','o','d','e',0};
OBJECT_ATTRIBUTES attr;
@@ -150,7 +150,7 @@ static NTSTATUS create_key( HKEY *retkey, ACCESS_MASK access, OBJECT_ATTRIBUTES
if (force_wow32 && pos)
{
if (is_wow6432node( &str )) force_wow32 = FALSE;
- else if ((subkey = open_wow6432node( attr->RootDirectory, &str )))
+ else if ((subkey = open_wow6432node( attr->RootDirectory )))
{
if (attr->RootDirectory != root) NtClose( attr->RootDirectory );
attr->RootDirectory = subkey;
@@ -204,7 +204,7 @@ static NTSTATUS open_key( HKEY *retkey, ACCESS_MASK access, OBJECT_ATTRIBUTES *a
if (force_wow32 && pos)
{
if (is_wow6432node( &str )) force_wow32 = FALSE;
- else if ((subkey = open_wow6432node( attr->RootDirectory, &str )))
+ else if ((subkey = open_wow6432node( attr->RootDirectory )))
{
if (attr->RootDirectory != root) NtClose( attr->RootDirectory );
attr->RootDirectory = subkey;
More information about the wine-cvs
mailing list