diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/TLogHelper.cpp | 7 |
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);
}
//-----------------------------------------------------------------------------
|