diff options
| author | Stefan Boberg <[email protected]> | 2021-09-15 14:57:03 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-15 14:57:19 +0200 |
| commit | 02ab6e97cf6de3f21283f766a6f585d14965867c (patch) | |
| tree | 3c2b92198b330f9683f9b9a791f1a8839b9f4a25 /zencore/filesystem.cpp | |
| parent | Handle absence of std::source_location somewhat more gracefully (relies on cl... (diff) | |
| download | zen-02ab6e97cf6de3f21283f766a6f585d14965867c.tar.xz zen-02ab6e97cf6de3f21283f766a6f585d14965867c.zip | |
Unused variable warning fix
Diffstat (limited to 'zencore/filesystem.cpp')
| -rw-r--r-- | zencore/filesystem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp index 329cc241d..59300b7ad 100644 --- a/zencore/filesystem.cpp +++ b/zencore/filesystem.cpp @@ -617,6 +617,8 @@ PathFromHandle(void* NativeHandle) const DWORD FinalLength = GetFinalPathNameByHandleW(NativeHandle, FullPath.data(), RequiredLengthIncludingNul, FILE_NAME_OPENED); + ZEN_UNUSED(FinalLength); + return FullPath; } |