Skip to content

Commit

Permalink
Remove unused path argument of IStorage::OpenFile usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Robyt3 committed Jan 4, 2025
1 parent 26b669b commit cd6c099
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/engine/client/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4067,8 +4067,7 @@ void CClient::Con_BenchmarkQuit(IConsole::IResult *pResult, void *pUserData)

void CClient::BenchmarkQuit(int Seconds, const char *pFilename)
{
char aBuf[IO_MAX_PATH_LENGTH];
m_BenchmarkFile = Storage()->OpenFile(pFilename, IOFLAG_WRITE, IStorage::TYPE_ABSOLUTE, aBuf, sizeof(aBuf));
m_BenchmarkFile = Storage()->OpenFile(pFilename, IOFLAG_WRITE, IStorage::TYPE_ABSOLUTE);
m_BenchmarkStopTime = time_get() + time_freq() * Seconds;
}

Expand Down

0 comments on commit cd6c099

Please sign in to comment.