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 | 66844091dde1e68f3e5b04df7204222baf0e11de (patch) | |
tree | ebb1d82acbe9fb30a790b5fc8c5d8af497bad9e0 /acl.c | |
parent | 31d5bd106854add14dcfaf0e8b30c9c1b1d0bb22 (diff) | |
download | qemu-66844091dde1e68f3e5b04df7204222baf0e11de.tar.gz qemu-66844091dde1e68f3e5b04df7204222baf0e11de.tar.bz2 qemu-66844091dde1e68f3e5b04df7204222baf0e11de.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 'acl.c')
0 files changed, 0 insertions, 0 deletions