aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2011-12-17 09:27:33 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-12-19 11:03:42 +0000
commitf91f9bee0c614da0dab6208a7a7fa00e3d207408 (patch)
treeb2ccc78370bac15fef3bae9640c09e0f11396448 /configure
parent7a42bbe4515168390ce1c3f65b15ebc08db625ce (diff)
downloadqemu-f91f9bee0c614da0dab6208a7a7fa00e3d207408.zip
qemu-f91f9bee0c614da0dab6208a7a7fa00e3d207408.tar.gz
qemu-f91f9bee0c614da0dab6208a7a7fa00e3d207408.tar.bz2
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4e596e6..f2c2a27 100755
--- a/configure
+++ b/configure
@@ -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