mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
configure: Fix compiler warning in config.log (unused variable)
warning: unused variable ‘iov’ Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
7a42bbe451
commit
f91f9bee0c
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -2060,7 +2060,7 @@ cat > $TMPC <<EOF
|
|||
#include <sys/types.h>
|
||||
#include <sys/uio.h>
|
||||
#include <unistd.h>
|
||||
int main(void) { struct iovec iov; return 0; }
|
||||
int main(void) { return sizeof(struct iovec); }
|
||||
EOF
|
||||
iovec=no
|
||||
if compile_prog "" "" ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue