commit | d8705c43826602207e6a01812c96e3e76a52b2f6 | [log] [tgz] |
---|---|---|
author | Boyan Karatotev <boyan.karatotev@arm.com> | Tue Nov 22 14:05:18 2022 +0000 |
committer | Boyan Karatotev <boyan.karatotev@arm.com> | Thu Dec 01 16:17:34 2022 +0000 |
tree | 88ff7b345b540c0bf882159a269cb82ab13c9f92 | |
parent | 7a4db8b1d4a01fd3026a21176ebe16d7060c206f [diff] |
fix(brcm): add braces around bodies of conditionals On release builds EMMC_TRACE doesn't expand to anything. Some conditionals with no braces end up with empty bodies. This produces a warning when compiling with -Werror=empty-body (enabled by -Wextra). Since TF-A coding guidelines require braces to comply with MISRA guidelines anyway, add them in the whole file. Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: Ib4e691efc7acdb8fb8692278c7a9772fc894f77f