Index: Source/wtf/Compiler.h |
diff --git a/Source/wtf/Compiler.h b/Source/wtf/Compiler.h |
index 4e9c895d914da93f19275e6c0c3d241c91f8a9b2..f5ede42f9f46da5a94a488ab1393475c5dbbe292 100644 |
--- a/Source/wtf/Compiler.h |
+++ b/Source/wtf/Compiler.h |
@@ -205,6 +205,14 @@ |
#define WARN_UNUSED_RETURN |
#endif |
+/* ALLOW_UNUSED */ |
+ |
+#if COMPILER(GCC) |
+#define ALLOW_UNUSED __attribute__((unused)) |
+#else |
+#define ALLOW_UNUSED |
+#endif |
+ |
/* OVERRIDE and FINAL */ |
#if COMPILER_SUPPORTS(CXX_OVERRIDE_CONTROL) |