Andrew Talbot : kernel32: Remove unused file-static variables.

Alexandre Julliard julliard at winehq.org
Wed Nov 16 12:46:45 CST 2011


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Tue Nov 15 21:57:24 2011 +0000

kernel32: Remove unused file-static variables.

---

 dlls/kernel32/format_msg.c |    1 -
 dlls/kernel32/locale.c     |    6 ------
 2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/dlls/kernel32/format_msg.c b/dlls/kernel32/format_msg.c
index b1befb3..d6d19ff 100644
--- a/dlls/kernel32/format_msg.c
+++ b/dlls/kernel32/format_msg.c
@@ -68,7 +68,6 @@ struct format_args
  * Yes, ANSI strings in win32 resources. Go figure.
  */
 
-static const WCHAR PCNTFMTWSTR[] = { '%','%','%','s',0 };
 static const WCHAR FMTWSTR[] = { '%','s',0 };
 
 /**********************************************************************
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 725855d..2c3760c 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -62,12 +62,6 @@ static const union cptable *oem_cptable;
 static const union cptable *mac_cptable;
 static const union cptable *unix_cptable;  /* NULL if UTF8 */
 
-static const WCHAR szNlsKeyName[] = {
-    'M','a','c','h','i','n','e','\\','S','y','s','t','e','m','\\',
-    'C','u','r','r','e','n','t','C','o','n','t','r','o','l','S','e','t','\\',
-    'C','o','n','t','r','o','l','\\','N','l','s','\0'
-};
-
 static const WCHAR szLocaleKeyName[] = {
     'M','a','c','h','i','n','e','\\','S','y','s','t','e','m','\\',
     'C','u','r','r','e','n','t','C','o','n','t','r','o','l','S','e','t','\\',




More information about the wine-cvs mailing list