aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolsrc/src/vcpkg/base/files.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/base/files.cpp b/toolsrc/src/vcpkg/base/files.cpp
index 4e36fe990..e40822705 100644
--- a/toolsrc/src/vcpkg/base/files.cpp
+++ b/toolsrc/src/vcpkg/base/files.cpp
@@ -23,9 +23,11 @@
namespace fs::detail
{
- file_status symlink_status_t::operator()(const path& p, std::error_code&) const noexcept
+ file_status symlink_status_t::operator()(const path& p, std::error_code& ec) const noexcept
{
#if defined(_WIN32)
+ static_cast<void>(ec);
+
/*
do not find the permissions of the file -- it's unnecessary for the
things that vcpkg does.