From 55cc7f3ed228ac52ffb766ba9113c2ed88dfa846 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 17 Dec 2011 09:27:37 +0100 Subject: [PATCH] configure: Fix compiler warning in config.log (value was never used) Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index e9725d4480..bd6f10fa7c 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