mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-28 16:07:02 +01:00
VCM: fix compilation warning
This commit is contained in:
@@ -45,9 +45,9 @@ void LogToFile(std::string what, const bool verbose)
|
||||
}
|
||||
if (logSizeMBs > maxLogSizeMegabytes)
|
||||
{
|
||||
std::error_code _;
|
||||
std::error_code __;
|
||||
// Truncate the log file to zero
|
||||
std::filesystem::resize_file(logFilePath, 0, _);
|
||||
std::filesystem::resize_file(logFilePath, 0, __);
|
||||
}
|
||||
std::ofstream myfile;
|
||||
myfile.open(logFilePath, std::fstream::app);
|
||||
|
||||
Reference in New Issue
Block a user