some fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -444,8 +444,6 @@ void CLog::LogV(const ELogType type, [[maybe_unused]]int flags, const char* szFo
|
||||
return;
|
||||
}
|
||||
|
||||
LogStringType tempString;
|
||||
|
||||
char szBuffer[MAX_WARNING_LENGTH + 32];
|
||||
char* szString = szBuffer;
|
||||
char* szAfterColour = szString;
|
||||
@@ -1297,7 +1295,7 @@ void CLog::CheckAndPruneBackupLogs() const
|
||||
AZStd::list<fileInfo> fileInfoList;
|
||||
|
||||
// Now that we've copied the new log over, lets check the size of the backup folder and trim it as necessary to keep it within appropriate limits
|
||||
AZ::IO::Result res = fileSystem->FindFiles(LOG_BACKUP_PATH, "*",
|
||||
fileSystem->FindFiles(LOG_BACKUP_PATH, "*",
|
||||
[&totalBackupDirectorySize, &fileSystem, &fileInfoList](const char* fileName)
|
||||
{
|
||||
AZ::u64 size;
|
||||
|
||||
Reference in New Issue
Block a user