diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2009-08-11 12:47:59 -0700 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-24 08:46:48 -0500 |
commit | 5ec4d682d27afad912a3f7866fa0d87d37912aa3 (patch) | |
tree | ebb1d82acbe9fb30a790b5fc8c5d8af497bad9e0 /hw/pc.c | |
parent | 177539e06d23f8a5dbbeb1a5e3ab56a96654221e (diff) |
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/pc.c')
0 files changed, 0 insertions, 0 deletions