diff options
| author | degasus <wickmarkus@web.de> | 2014-07-08 22:37:58 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-07-11 16:10:20 +0200 |
| commit | 7e79806efcd5c5e41efea89fa385b480ac1882f5 (patch) | |
| tree | 57079ff88525dade11b2d1901357e221df6ddab7 /Source/Core/Common/ExtendedTrace.cpp | |
| parent | 81ed17be53e7fed93147dc0d334a6c1d45f4e3c8 (diff) | |
remove unused globals
Also change globals into statics which are only used in one file
Diffstat (limited to 'Source/Core/Common/ExtendedTrace.cpp')
| -rw-r--r-- | Source/Core/Common/ExtendedTrace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/ExtendedTrace.cpp b/Source/Core/Common/ExtendedTrace.cpp index 2262b6afba..54594eb4a9 100644 --- a/Source/Core/Common/ExtendedTrace.cpp +++ b/Source/Core/Common/ExtendedTrace.cpp @@ -411,8 +411,8 @@ void StackTrace(HANDLE hThread, const char* lpszMessage, FILE *file, DWORD eip, if (hThread != GetCurrentThread()) ResumeThread(hThread); } - -char g_uefbuf[2048]; +#define UEFBUFSIZE 2048 +static char g_uefbuf[UEFBUFSIZE]; void etfprintf(FILE *file, const char *format, ...) { |
