Files
u-boot/drivers
Tom Rini 55616b86c7 pci_rom.c: Fix may be used uninitialized warning
With gcc-5.x we get:
drivers/pci/pci_rom.c: In function 'dm_pci_run_vga_bios':
drivers/pci/pci_rom.c:352:3: warning: 'ram' may be used uninitialized in
this function [-Wmaybe-uninitialized]

While unconvinced that this can happen in practice (if we malloc we set
alloced to true, it will be false otherwise), silence the compiler.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-01-19 08:31:21 -05:00
..
2015-11-02 10:38:00 +09:00
2015-12-01 08:07:22 -07:00
2016-01-19 08:31:21 -05:00
2016-01-13 21:05:19 -05:00
2015-10-22 14:22:22 -04:00
2016-01-19 08:31:21 -05:00
2016-01-19 08:31:21 -05:00
2016-01-19 08:31:21 -05:00
2015-05-26 14:13:12 +02:00
2016-01-19 08:31:21 -05:00
2015-10-23 09:42:28 -06:00
2016-01-19 08:31:21 -05:00