summaryrefslogtreecommitdiff
path: root/deps/v8/src/base/compiler-specific.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/base/compiler-specific.h')
-rw-r--r--deps/v8/src/base/compiler-specific.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/deps/v8/src/base/compiler-specific.h b/deps/v8/src/base/compiler-specific.h
index 1858caa047..75f89298f1 100644
--- a/deps/v8/src/base/compiler-specific.h
+++ b/deps/v8/src/base/compiler-specific.h
@@ -16,16 +16,6 @@
#define ALLOW_UNUSED_TYPE
#endif
-
-// Annotate a function indicating the caller must examine the return value.
-// Use like:
-// int foo() WARN_UNUSED_RESULT;
-#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
-#define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
-#else
-#define WARN_UNUSED_RESULT /* NOT SUPPORTED */
-#endif
-
// Tell the compiler a function is using a printf-style format string.
// |format_param| is the one-based index of the format string parameter;
// |dots_param| is the one-based index of the "..." parameter.