diff options
author | 2013-08-06 18:32:29 +0000 | |
---|---|---|
committer | 2013-08-06 18:32:29 +0000 | |
commit | 5ebbbe53779cfe93741dc66f433107d04da74486 (patch) | |
tree | 0cb876a8f3c0531db8b40f4358271f132795c86e /include/core/SkTypes.h | |
parent | fedc4f9f43a8b187bcd065a0e38c2efc9dbae6f3 (diff) |
Annotate SK_COMPILE_ASSERT's typedef as permissibly unused, to fix GCC 4.8 build warning. Patch originally by dholbert.
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/22285002
git-svn-id: http://skia.googlecode.com/svn/trunk@10575 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkTypes.h')
-rw-r--r-- | include/core/SkTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h index 48a6de80dd..039369119e 100644 --- a/include/core/SkTypes.h +++ b/include/core/SkTypes.h @@ -127,7 +127,7 @@ struct SkCompileAssert { }; #define SK_COMPILE_ASSERT(expr, msg) \ - typedef SkCompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] + typedef SkCompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] SK_UNUSED /* * Usage: SK_MACRO_CONCAT(a, b) to construct the symbol ab |