diff options
author | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-05-05 18:18:02 +0000 |
---|---|---|
committer | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-05-05 18:18:02 +0000 |
commit | 60c62f8a7626a02356384e9a0a15a179f1b1f9d6 (patch) | |
tree | f56a8bc3c07dc4517d4be37376a1ba1a0b8d30d0 /typedefs.h | |
parent | 1cbc360c03fcad0ebed910d371530f48cb11951f (diff) | |
download | webrtc-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.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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; |