cryptui: Remove unneeded address-of operators from array names

Andrew Talbot andrew.talbot at talbotville.com
Mon Oct 31 16:19:21 CDT 2011


Changelog:
    cryptui: Remove unneeded address-of operators from array names.

diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c
index 5f742d6..5c8fd27 100644
--- a/dlls/cryptui/main.c
+++ b/dlls/cryptui/main.c
@@ -5471,7 +5471,7 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent,
     data.autoDest = TRUE;
     data.success = TRUE;
 
-    memset(&pages, 0, sizeof(pages));
+    memset(pages, 0, sizeof(pages));
 
     pages[nPages].dwSize = sizeof(pages[0]);
     pages[nPages].hInstance = hInstance;
@@ -6884,7 +6884,7 @@ static BOOL show_export_ui(DWORD dwFlags, HWND hwndParent,
     data.file = INVALID_HANDLE_VALUE;
     data.success = FALSE;
 
-    memset(&pages, 0, sizeof(pages));
+    memset(pages, 0, sizeof(pages));
 
     pages[nPages].dwSize = sizeof(pages[0]);
     pages[nPages].hInstance = hInstance;



More information about the wine-patches mailing list