qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH 09/11] configure: Fix compiler warning in config.l


From: Stefan Weil
Subject: [Qemu-trivial] [PATCH 09/11] configure: Fix compiler warning in config.log (value was never used)
Date: Sat, 17 Dec 2011 09:27:37 +0100

Signed-off-by: Stefan Weil <address@hidden>
---
 configure |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 31ea3ff..0c791b5 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
-- 
1.7.2.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]