diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-03-08 10:46:07 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-03-11 22:53:44 +0100 |
commit | 74c02ebd80fa331361c431d8dbfcba45a2a36e85 (patch) | |
tree | 57b4a589a5030020d5d3a32ffa9968548dded1d4 /hw/scsi/mptendian.c | |
parent | 5207c595eb8910eee3d329214e65d64e348985d1 (diff) |
hw/mips/malta: Restrict 'bios_size' variable scope
The 'bios_size' variable is only used in the 'if (!kernel_filename &&
!dinfo)' clause. This is the case when we don't provide -pflash command
line option, and also don't provide a -kernel option. In this case we
will check for the -bios option, or use the default BIOS_FILENAME file.
The 'bios' term is valid in this if statement, but is confuse in the
whole mips_malta_init() scope. Restrict his scope.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190308094610.21210-13-armbru@redhat.com>
Diffstat (limited to 'hw/scsi/mptendian.c')
0 files changed, 0 insertions, 0 deletions