Chromium Code Reviews| Index: base/compiler_specific.h |
| =================================================================== |
| --- base/compiler_specific.h (revision 7139) |
| +++ base/compiler_specific.h (working copy) |
| @@ -67,8 +67,10 @@ |
| #if defined(COMPILER_GCC) |
| +#define ALLOW_UNUSED __attribute__((unused)) |
| #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) |
| #else // Not GCC |
| +#define ALLOW_UNUSED |
| #define WARN_UNUSED_RESULT |
| #endif |