summaryrefslogtreecommitdiff
path: root/runtime/base/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/base/macros.h')
-rw-r--r--runtime/base/macros.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/base/macros.h b/runtime/base/macros.h
index fe5a2ef4fd..fae9271d9e 100644
--- a/runtime/base/macros.h
+++ b/runtime/base/macros.h
@@ -176,6 +176,7 @@ char (&ArraySizeHelper(T (&array)[N]))[N];
#endif
#define PURE __attribute__ ((__pure__))
+#define WARN_UNUSED __attribute__((warn_unused_result))
template<typename T> void UNUSED(const T&) {}