Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-05-04 12:53:58 +0300
committerMartin Storsjö <martin@martin.st>2022-05-04 22:55:02 +0300
commit6123e9c0d03bf1e3f43c3851f4122a7267b33c28 (patch)
tree2ecae8833439637a905829e4fbf000f7e48b7858 /libunwind
parentf1f8899a18822ede04d8f90cbdae29d66333d7dc (diff)
[libunwind] Silence warnings about unused variables. NFC.
This variable was considered unused when NDEBUG was defined. Differential Revision: https://reviews.llvm.org/D124911
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/src/AddressSpace.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libunwind/src/AddressSpace.hpp b/libunwind/src/AddressSpace.hpp
index 5fc9ee3fe6c3..36c9f5a9e36f 100644
--- a/libunwind/src/AddressSpace.hpp
+++ b/libunwind/src/AddressSpace.hpp
@@ -551,6 +551,7 @@ inline bool LocalAddressSpace::findUnwindSections(pint_t targetAddr,
DWORD err = GetLastError();
_LIBUNWIND_TRACE_UNWINDING("findUnwindSections: EnumProcessModules failed, "
"returned error %d", (int)err);
+ (void)err;
return false;
}