Alex Henrie : shdocvw: Make constants 'wszCLSID' and 'wszInitPropertyBag' static.

Alexandre Julliard julliard at winehq.org
Mon Dec 3 15:28:54 CST 2018


Module: wine
Branch: master
Commit: 8d4bfa751d1380fb6f929739173adbf39954a1f8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=8d4bfa751d1380fb6f929739173adbf39954a1f8

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Sun Dec  2 16:05:13 2018 -0700

shdocvw: Make constants 'wszCLSID' and 'wszInitPropertyBag' static.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shdocvw/shlinstobj.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shdocvw/shlinstobj.c b/dlls/shdocvw/shlinstobj.c
index 9c3232c..6f6786b 100644
--- a/dlls/shdocvw/shlinstobj.c
+++ b/dlls/shdocvw/shlinstobj.c
@@ -361,8 +361,8 @@ HRESULT SHDOCVW_GetShellInstanceObjectClassObject(REFCLSID rclsid, REFIID riid,
     WCHAR wszInstanceKey[] = { 'C','L','S','I','D','\\','{','0','0','0','0','0','0','0','0','-',
         '0','0','0','0','-','0','0','0','0','-','0','0','0','0','-','0','0','0','0','0','0','0','0',
         '0','0','0','0','}','\\','I','n','s','t','a','n','c','e', 0 };
-    const WCHAR wszCLSID[] = { 'C','L','S','I','D',0 };
-    const WCHAR wszInitPropertyBag[] = 
+    static const WCHAR wszCLSID[] = { 'C','L','S','I','D',0 };
+    static const WCHAR wszInitPropertyBag[] =
         { 'I','n','i','t','P','r','o','p','e','r','t','y','B','a','g',0 };
     WCHAR wszCLSIDInstance[CHARS_IN_GUID];
     CLSID clsidInstance;




More information about the wine-cvs mailing list