Amine Khaldi : kernel32: Remove some unused variables (Clang).

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 23 08:21:57 CDT 2014


Module: wine
Branch: master
Commit: 810ed5c85a0bccfe35dc7d4c3c7621216e13c9ee
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=810ed5c85a0bccfe35dc7d4c3c7621216e13c9ee

Author: Amine Khaldi <amine.khaldi at reactos.org>
Date:   Wed Oct 22 19:10:21 2014 +0100

kernel32: Remove some unused variables (Clang).

---

 dlls/kernel32/format_msg.c |  2 --
 dlls/kernel32/locale.c     | 11 -----------
 2 files changed, 13 deletions(-)

diff --git a/dlls/kernel32/format_msg.c b/dlls/kernel32/format_msg.c
index cdbc944..5741713 100644
--- a/dlls/kernel32/format_msg.c
+++ b/dlls/kernel32/format_msg.c
@@ -68,8 +68,6 @@ struct format_args
  * Yes, ANSI strings in win32 resources. Go figure.
  */
 
-static const WCHAR FMTWSTR[] = { '%','s',0 };
-
 /**********************************************************************
  *	load_message    (internal)
  */
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 730574b..171f14c 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -3456,17 +3456,6 @@ static BOOL NLS_GetLanguageGroupName(LGRPID lgrpid, LPWSTR szName, ULONG nameSiz
     return bRet;
 }
 
-/* Registry keys for NLS related information */
-
-static const WCHAR szCountryListName[] = {
-    'M','a','c','h','i','n','e','\\','S','o','f','t','w','a','r','e','\\',
-    'M','i','c','r','o','s','o','f','t','\\','W','i','n','d','o','w','s','\\',
-    'C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\',
-    'T','e','l','e','p','h','o','n','y','\\',
-    'C','o','u','n','t','r','y',' ','L','i','s','t','\0'
-};
-
-
 /* Callback function ptrs for EnumSystemLanguageGroupsA/W */
 typedef struct
 {




More information about the wine-cvs mailing list