diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:38:07 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:38:07 +0000 |
commit | ef4760626e88bc3e7a1b46c7370378cbd12d379f (patch) | |
tree | 22a7aea9b6c112dd76f551ddc2784dd24312df44 /.gitignore | |
parent | 8c78881f481401ec3cfbdce2267101cf300cd4b1 (diff) | |
download | qemu-ef4760626e88bc3e7a1b46c7370378cbd12d379f.zip qemu-ef4760626e88bc3e7a1b46c7370378cbd12d379f.tar.gz qemu-ef4760626e88bc3e7a1b46c7370378cbd12d379f.tar.bz2 |
eepro100: initialize a variable in all cases
Compiling with GCC 4.6.0 20100925 produced warnings:
/src/qemu/hw/eepro100.c: In function 'eepro100_read4':
/src/qemu/hw/eepro100.c:1351:14: error: 'val' may be used uninitialized in this function [-Werror=uninitialized]
/src/qemu/hw/eepro100.c: In function 'eepro100_read2':
/src/qemu/hw/eepro100.c:1328:14: error: 'val' may be used uninitialized in this function [-Werror=uninitialized]
/src/qemu/hw/eepro100.c: In function 'eepro100_read1':
/src/qemu/hw/eepro100.c:1285:13: error: 'val' may be used uninitialized in this function [-Werror=uninitialized]
Fix by initializing 'val' at start.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions