Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw/i386: changes towards enabling -Wshadow=local for x86 machines
Code changes that addresses all compiler complaints coming from enabling -Wshadow flags. Enabling -Wshadow catches cases of local variables shadowing other local variables or parameters. These makes the code confusing and/or adds bugs that are difficult to catch. See also Subject: Help wanted for enabling -Wshadow=local Message-Id: <[email protected]> https://lore.kernel.org/qemu-devel/[email protected] CC: Markus Armbruster <[email protected]> CC: Philippe Mathieu-Daude <[email protected]> CC: [email protected] Signed-off-by: Ani Sinha <[email protected]> Reviewed-by: Daniel P. Berrangé <[email protected]> Reviewed-by: Peter Xu <[email protected]> Message-ID: <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Markus Armbruster <[email protected]>
- Loading branch information