summaryrefslogtreecommitdiffstats
path: root/mojo/public/c/system/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/public/c/system/macros.h')
-rw-r--r--mojo/public/c/system/macros.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/mojo/public/c/system/macros.h b/mojo/public/c/system/macros.h
index 7f28e18..26f5982 100644
--- a/mojo/public/c/system/macros.h
+++ b/mojo/public/c/system/macros.h
@@ -7,12 +7,6 @@
#include <stddef.h>
-// Annotate a variable indicating it's okay if it's unused.
-// Use like:
-// int x = ...;
-// MOJO_ALLOW_UNUSED_LOCAL(x);
-#define MOJO_ALLOW_UNUSED_LOCAL(x) false ? (void)x : (void)0
-
// Annotate a function indicating that the caller must examine the return value.
// Use like:
// int foo() MOJO_WARN_UNUSED_RESULT;