arm-trusted-firmware/include
Sandrine Bailleux c17a4dc34c Make CASSERT() macro callable from anywhere
The CASSERT() macro introduces a typedef for the sole purpose of
triggering a compilation error if the condition to check is false.
This typedef is not used afterwards. As a consequence, when the
CASSERT() macro is called from withing a function block, the compiler
complains and outputs the following error message:

  error: typedef 'msg' locally defined but not used [-Werror=unused-local-typedefs]

This patch adds the "unused" attribute for the aforementioned
typedef. This silences the compiler warning and thus makes the
CASSERT() macro callable from within function blocks as well.

Change-Id: Ie36b58fcddae01a21584c48bb6ef43ec85590479
2015-10-19 08:52:35 +01:00
..
bl31 Merge pull request #390 from vikramkanigiri/at/unify_bakery_locks_v2 2015-09-14 21:49:10 +01:00
bl32 Send power management events to the Trusted OS (TLK) 2015-09-30 10:38:28 +05:30
common Make generic code work in presence of system caches 2015-09-14 22:09:40 +01:00
drivers Merge pull request #401 from sandrine-bailleux/sb/fix-sp804-bug-v2 2015-09-30 15:18:15 +01:00
lib Make CASSERT() macro callable from anywhere 2015-10-19 08:52:35 +01:00
plat Merge pull request #390 from vikramkanigiri/at/unify_bakery_locks_v2 2015-09-14 21:49:10 +01:00
stdlib Enable type-checking of arguments passed to printf() et al. 2015-03-06 13:07:43 +00:00