diff options
| author | David Lönnhager <david.l@mullvad.net> | 2021-07-08 15:19:02 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2021-07-08 17:40:59 +0200 |
| commit | aa140c4d00fee56a74569b4a572dc25a82e801c5 (patch) | |
| tree | 3f2c5415a2c1b2f46c58d38a7cac19be2bbd783e /windows/nsis-plugins/src/log/log.cpp | |
| parent | 88a05b7d062183a63c53b6b2471beddedb60b728 (diff) | |
| download | mullvadvpn-aa140c4d00fee56a74569b4a572dc25a82e801c5.tar.xz mullvadvpn-aa140c4d00fee56a74569b4a572dc25a82e801c5.zip | |
Remove superfluous arguments
Diffstat (limited to 'windows/nsis-plugins/src/log/log.cpp')
| -rw-r--r-- | windows/nsis-plugins/src/log/log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/nsis-plugins/src/log/log.cpp b/windows/nsis-plugins/src/log/log.cpp index 4a7bf1bf49..23ca329eb1 100644 --- a/windows/nsis-plugins/src/log/log.cpp +++ b/windows/nsis-plugins/src/log/log.cpp @@ -93,7 +93,7 @@ std::wstring GetWindowsVersion() { common::fs::ScopedNativeFileSystem nativeFileSystem; - const auto systemDir = common::fs::GetKnownFolderPath(FOLDERID_System, 0, nullptr); + const auto systemDir = common::fs::GetKnownFolderPath(FOLDERID_System); const auto systemModule = std::filesystem::path(systemDir).append(L"ntoskrnl.exe"); DWORD dummy; @@ -244,7 +244,7 @@ void __declspec(dllexport) NSISCALL SetLogTarget } auto logpath = std::filesystem::path(common::fs::GetKnownFolderPath( - FOLDERID_ProgramData, 0, nullptr)); + FOLDERID_ProgramData)); logpath.append(L"Mullvad VPN"); if (FALSE == CreateDirectoryW(logpath.c_str(), nullptr)) |
