From f91f9bee0c614da0dab6208a7a7fa00e3d207408 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 17 Dec 2011 09:27:33 +0100 Subject: [PATCH] configure: Fix compiler warning in config.log (unused variable) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: unused variable ‘iov’ Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 4e596e6326..f2c2a27824 100755 --- a/configure +++ b/configure @@ -2060,7 +2060,7 @@ cat > $TMPC < #include #include -int main(void) { struct iovec iov; return 0; } +int main(void) { return sizeof(struct iovec); } EOF iovec=no if compile_prog "" "" ; then