Removes LOADING_TIME_PROFILE_SECTION macros that are unused

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-19 18:26:09 -07:00
parent a97bccbf38
commit 63cd3db956
10 changed files with 4 additions and 56 deletions
-4
View File
@@ -397,7 +397,6 @@ void CLog::LogV(const ELogType type, [[maybe_unused]]int flags, const char* szFo
}
FUNCTION_PROFILER(GetISystem(), PROFILE_SYSTEM);
LOADING_TIME_PROFILE_SECTION(GetISystem());
bool bfile = false, bconsole = false;
const char* szCommand = szFormat;
@@ -573,8 +572,6 @@ void CLog::LogPlus(const char* szFormat, ...)
return;
}
LOADING_TIME_PROFILE_SECTION(GetISystem());
if (!szFormat)
{
return;
@@ -1187,7 +1184,6 @@ void CLog::LogToFile(const char* szFormat, ...)
//////////////////////////////////////////////////////////////////////
void CLog::CreateBackupFile() const
{
LOADING_TIME_PROFILE_SECTION;
if (!m_backupLogs)
{
return;