arm-trusted-firmware/plat/mediatek/mt8173
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
..
aarch64 mediatek: mt8173: apply MULTI_CONSOLE framework 2019-09-12 09:16:12 -07:00
drivers Enable -Wshadow always 2019-11-19 08:53:16 -06:00
include Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
bl31_plat_setup.c mediatek: mt8173: apply MULTI_CONSOLE framework 2019-09-12 09:16:12 -07:00
plat_mt_gic.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_pm.c mediatek: mt8173: apply MULTI_CONSOLE framework 2019-09-12 09:16:12 -07:00
plat_sip_calls.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_topology.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
platform.mk mediatek: mt8173: refactor RTC and PMIC drivers 2019-09-16 10:27:21 +08:00
power_tracer.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
scu.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00