Alexandre Julliard : d3dxof: Don't make local variables static.

Alexandre Julliard julliard at winehq.org
Mon Aug 25 06:21:45 CDT 2008


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Aug 25 12:37:12 2008 +0200

d3dxof: Don't make local variables static.

---

 dlls/d3dxof/d3dxof.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/d3dxof/d3dxof.c b/dlls/d3dxof/d3dxof.c
index 2df7d66..1281346 100644
--- a/dlls/d3dxof/d3dxof.c
+++ b/dlls/d3dxof/d3dxof.c
@@ -367,7 +367,7 @@ static WORD get_keyword_token(parse_buffer* buf)
 
 static BOOL is_guid(parse_buffer* buf)
 {
-  static char tmp[50];
+  char tmp[50];
   DWORD pos = 1;
   GUID class_id;
   DWORD tab[10];
@@ -417,7 +417,7 @@ static BOOL is_guid(parse_buffer* buf)
 
 static BOOL is_name(parse_buffer* buf)
 {
-  static char tmp[50];
+  char tmp[50];
   DWORD pos = 0;
   char c;
   BOOL error = 0;
@@ -446,7 +446,7 @@ static BOOL is_name(parse_buffer* buf)
 
 static BOOL is_integer(parse_buffer* buf)
 {
-  static char tmp[50];
+  char tmp[50];
   DWORD pos = 0;
   char c;
   DWORD integer;
@@ -666,7 +666,7 @@ static inline BOOL is_primitive_type(WORD token)
 static BOOL parse_name(parse_buffer * buf)
 {
   DWORD count;
-  static char strname[100];
+  char strname[100];
 
   if (parse_TOKEN(buf) != TOKEN_NAME)
     return FALSE;




More information about the wine-cvs mailing list