summaryrefslogtreecommitdiff
path: root/typedefs.h
diff options
context:
space:
mode:
authorandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-05-05 18:18:02 +0000
committerandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-05-05 18:18:02 +0000
commit60c62f8a7626a02356384e9a0a15a179f1b1f9d6 (patch)
treef56a8bc3c07dc4517d4be37376a1ba1a0b8d30d0 /typedefs.h
parent1cbc360c03fcad0ebed910d371530f48cb11951f (diff)
downloadwebrtc-60c62f8a7626a02356384e9a0a15a179f1b1f9d6.tar.gz
Remove ALLOW_UNUSED.
Turns out Chromium won't be applying this to COMPILE_ASSERT. We don't need it at all then. R=thakis@chromium.org TBR=thakis@chromium.org Review URL: https://webrtc-codereview.appspot.com/13469005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6055 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'typedefs.h')
-rw-r--r--typedefs.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/typedefs.h b/typedefs.h
index d9328c67..d8977ff4 100644
--- a/typedefs.h
+++ b/typedefs.h
@@ -96,17 +96,6 @@ typedef unsigned __int64 uint64_t;
#define OVERRIDE
#endif
-// Annotate a variable indicating it's ok if the variable is not used.
-// (Typically used to silence a compiler warning when the assignment
-// is important for some other reason.)
-// Use like:
-// int x ALLOW_UNUSED = ...;
-#if defined(__GNUC__)
-#define ALLOW_UNUSED __attribute__((unused))
-#else
-#define ALLOW_UNUSED
-#endif
-
// Annotate a function indicating the caller must examine the return value.
// Use like:
// int foo() WARN_UNUSED_RESULT;