From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcbCY-0004mb-9D for qemu-devel@nongnu.org; Mon, 19 Dec 2011 06:16:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcbCS-0002rK-GO for qemu-devel@nongnu.org; Mon, 19 Dec 2011 06:16:14 -0500 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:40715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcbCS-0002r9-7z for qemu-devel@nongnu.org; Mon, 19 Dec 2011 06:16:08 -0500 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 19 Dec 2011 11:16:07 -0000 Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pBJBG4JK2920678 for ; Mon, 19 Dec 2011 11:16:04 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost.localdomain [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pBJBG3Zs009745 for ; Mon, 19 Dec 2011 04:16:04 -0700 From: Stefan Hajnoczi Date: Mon, 19 Dec 2011 11:12:37 +0000 Message-Id: <1324293158-25433-17-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1324293158-25433-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1324293158-25433-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 16/17] configure: Fix compiler warnings in config.log (statement without effect) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil , Anthony Liguori , Stefan Hajnoczi From: Stefan Weil Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- configure | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configure b/configure index bd6f10f..36ee849 100755 --- a/configure +++ b/configure @@ -2074,7 +2074,7 @@ cat > $TMPC < #include #include -int main(void) { preadv; } +int main(void) { return preadv == preadv; } EOF preadv=no if compile_prog "" "" ; then @@ -2107,7 +2107,7 @@ if test "$opengl" != "no" ; then #include #include #include -int main(void) { GL_VERSION; return 0; } +int main(void) { return GL_VERSION != 0; } EOF if compile_prog "" "-lGL" ; then opengl=yes @@ -2369,8 +2369,7 @@ int main(void) * warning but not an error, and will proceed to fail the * qemu compile where we compile with -Werror.) */ - epoll_create1; - return 0; + return epoll_create1 == epoll_create1; } EOF if compile_prog "$ARCH_CFLAGS" "" ; then -- 1.7.7.3