[PATCH 1/4] user32: Remove an unnecessary static.

Huw Davies huw at codeweavers.com
Wed Jun 24 04:19:18 CDT 2020


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 dlls/user32/user_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/user32/user_main.c b/dlls/user32/user_main.c
index 31a6168108c..f050e5d92e5 100644
--- a/dlls/user32/user_main.c
+++ b/dlls/user32/user_main.c
@@ -173,7 +173,7 @@ static const WCHAR *get_default_desktop(void)
     static const WCHAR app_defaultsW[] = {'S','o','f','t','w','a','r','e','\\',
                                           'W','i','n','e','\\',
                                           'A','p','p','D','e','f','a','u','l','t','s',0};
-    static WCHAR buffer[MAX_PATH + ARRAY_SIZE(explorerW)];
+    WCHAR buffer[MAX_PATH + ARRAY_SIZE(explorerW)];
     WCHAR *p, *appname = buffer;
     const WCHAR *ret = defaultW;
     DWORD len;
-- 
2.23.0




More information about the wine-devel mailing list