From 7e79806efcd5c5e41efea89fa385b480ac1882f5 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 8 Jul 2014 22:37:58 +0200 Subject: remove unused globals Also change globals into statics which are only used in one file --- Source/Core/Common/ExtendedTrace.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/Common/ExtendedTrace.cpp') 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, ...) { -- cgit v1.2.3