arm-trusted-firmware/plat/mediatek
Justin Chadwell b7f6525db6 Enable -Wshadow always
Variable shadowing is, according to the C standard, permitted and valid
behaviour. However, allowing a local variable to take the same name as a
global one can cause confusion and can make refactoring and bug hunting
more difficult.

This patch moves -Wshadow from WARNING2 into the general warning group
so it is always used. It also fixes all warnings that this introduces
by simply renaming the local variable to a new name

Change-Id: I6b71bdce6580c6e58b5e0b41e4704ab0aa38576e
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
2019-11-19 08:53:16 -06:00
..
common mediatek: mt8183: pass platform parameters 2019-09-10 11:25:29 +08:00
mt6795 Remove deprecated plat_crash_console_* 2019-04-03 14:55:18 +01:00
mt8173 Enable -Wshadow always 2019-11-19 08:53:16 -06:00
mt8183 mediatek: mt8183: add EMI MPU driver for DRAM protection 2019-10-03 10:46:09 +08:00