Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 2d072a001b5d654a9048ef6ab2577d00439ed328..1a6e5ec45ffe4989fc64bba95d8571ce5dbbd9b5 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -357,11 +357,8 @@ F FUNCTION_CAST(Address addr) { |
#endif |
-#if defined(__GNUC__) && __GNUC__ >= 4 |
-#define MUST_USE_RESULT __attribute__ ((warn_unused_result)) |
-#else |
-#define MUST_USE_RESULT |
-#endif |
+// Newly written code should use V8_WARN_UNUSED_RESULT. |
Michael Starzinger
2013/08/27 08:23:43
Thanks for not touching another 528 occurrences of
|
+#define MUST_USE_RESULT V8_WARN_UNUSED_RESULT |
// Define DISABLE_ASAN macros. |