aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2011-12-17 09:27:37 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-12-19 11:03:43 +0000
commit55cc7f3ed228ac52ffb766ba9113c2ed88dfa846 (patch)
tree944e2f01c38e073cd19d6a64b8b6c7bc8effddc3 /configure
parentffc41d10b01b9c72a7dd412b271164530c14bdb8 (diff)
downloadqemu-55cc7f3ed228ac52ffb766ba9113c2ed88dfa846.zip
qemu-55cc7f3ed228ac52ffb766ba9113c2ed88dfa846.tar.gz
qemu-55cc7f3ed228ac52ffb766ba9113c2ed88dfa846.tar.bz2
configure: Fix compiler warning in config.log (value was never used)
Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index e9725d4..bd6f10f 100755
--- a/configure
+++ b/configure
@@ -2269,8 +2269,7 @@ cat > $TMPC << EOF
int main(void)
{
- int efd = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC);
- return 0;
+ return eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC);
}
EOF
if compile_prog "" "" ; then