summaryrefslogtreecommitdiff
path: root/runtime/base/debug_stack.h
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2015-08-26 18:34:03 +0100
committer Andreas Gampe <agampe@google.com> 2015-10-15 12:22:39 -0700
commit4b8f1ecd3aa5a29ec1463ff88fee9db365f257dc (patch)
treed113f8a5c6b61c078256cf15c7cbb9f7c8de0390 /runtime/base/debug_stack.h
parent114873103db3d4d6e0da42ca02bad1ea8826443b (diff)
Use ATTRIBUTE_UNUSED more.
Use it in lieu of UNUSED(), which had some incorrect uses. Change-Id: If247dce58b72056f6eea84968e7196f0b5bef4da
Diffstat (limited to 'runtime/base/debug_stack.h')
-rw-r--r--runtime/base/debug_stack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/base/debug_stack.h b/runtime/base/debug_stack.h
index 03f457534e..e19aecb712 100644
--- a/runtime/base/debug_stack.h
+++ b/runtime/base/debug_stack.h
@@ -54,7 +54,7 @@ class DebugStackRefCounterImpl<false> {
template <>
class DebugStackReferenceImpl<false> {
public:
- explicit DebugStackReferenceImpl(DebugStackRefCounterImpl<false>* counter) { UNUSED(counter); }
+ explicit DebugStackReferenceImpl(DebugStackRefCounterImpl<false>* counter ATTRIBUTE_UNUSED) {}
DebugStackReferenceImpl(const DebugStackReferenceImpl& other) = default;
DebugStackReferenceImpl& operator=(const DebugStackReferenceImpl& other) = default;
void CheckTop() { }
@@ -63,7 +63,7 @@ class DebugStackReferenceImpl<false> {
template <>
class DebugStackIndirectTopRefImpl<false> {
public:
- explicit DebugStackIndirectTopRefImpl(DebugStackReferenceImpl<false>* ref) { UNUSED(ref); }
+ explicit DebugStackIndirectTopRefImpl(DebugStackReferenceImpl<false>* ref ATTRIBUTE_UNUSED) {}
DebugStackIndirectTopRefImpl(const DebugStackIndirectTopRefImpl& other) = default;
DebugStackIndirectTopRefImpl& operator=(const DebugStackIndirectTopRefImpl& other) = default;
void CheckTop() { }