projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1f8899
)
[libunwind] Silence warnings about unused variables. NFC.
author
Martin Storsjö
<martin@martin.st>
Wed, 4 May 2022 09:53:58 +0000
(12:53 +0300)
committer
Martin Storsjö
<martin@martin.st>
Wed, 4 May 2022 19:55:02 +0000
(22:55 +0300)
This variable was considered unused when NDEBUG was defined.
Differential Revision: https://reviews.llvm.org/D124911
libunwind/src/AddressSpace.hpp
patch
|
blob
|
history
diff --git
a/libunwind/src/AddressSpace.hpp
b/libunwind/src/AddressSpace.hpp
index
5fc9ee3
..
36c9f5a
100644
(file)
--- 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);
DWORD err = GetLastError();
_LIBUNWIND_TRACE_UNWINDING("findUnwindSections: EnumProcessModules failed, "
"returned error %d", (int)err);
+ (void)err;
return false;
}
return false;
}