diff options
author | Nathan Froyd | 2009-08-11 21:47:59 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-08-24 15:46:48 +0200 |
commit | 5ec4d682d27afad912a3f7866fa0d87d37912aa3 (patch) | |
tree | ebb1d82acbe9fb30a790b5fc8c5d8af497bad9e0 /hw/omap_i2c.c | |
parent | virtio-blk: add msi support. (diff) | |
download | qemu-5ec4d682d27afad912a3f7866fa0d87d37912aa3.tar.gz qemu-5ec4d682d27afad912a3f7866fa0d87d37912aa3.tar.xz qemu-5ec4d682d27afad912a3f7866fa0d87d37912aa3.zip |
eliminate errors about unused results in block/vpc.c
These errors come up when compiling with gcc-4.3.3 and some older headers:
/scratch/froydnj/qemu.git/block/vpc.c: In function 'vpc_create':
/scratch/froydnj/qemu.git/block/vpc.c:514: error: value computed is not used
/scratch/froydnj/qemu.git/block/vpc.c:516: error: value computed is not used
/scratch/froydnj/qemu.git/block/vpc.c:517: error: value computed is not used
/scratch/froydnj/qemu.git/block/vpc.c:566: error: value computed is not used
Use memcpy to copy the strings instead of strncpy.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/omap_i2c.c')
0 files changed, 0 insertions, 0 deletions