aboutsummaryrefslogtreecommitdiff
path: root/test/TLogHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/TLogHelper.cpp')
-rw-r--r--test/TLogHelper.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/TLogHelper.cpp b/test/TLogHelper.cpp
index a554573..64cc815 100644
--- a/test/TLogHelper.cpp
+++ b/test/TLogHelper.cpp
@@ -357,12 +357,7 @@ int TLogHelper::PrintErrorVa(const char * szFormat, ...)
int TLogHelper::PrintError(const char * szFormat, const char * szFileName)
{
- TCHAR szFileNameT[MAX_PATH];
- TCHAR szFormatT[0x200];
-
- StringCopy(szFileNameT, _countof(szFileNameT), szFileName);
- StringCopy(szFormatT, _countof(szFormatT), szFormat);
- return PrintErrorVa(szFormatT, szFileNameT);
+ return PrintErrorVa(szFormat, szFileName);
}
//-----------------------------------------------------------------------------