From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbpem-0007Dc-46 for qemu-devel@nongnu.org; Sat, 17 Dec 2011 03:30:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rbpel-0006VE-1H for qemu-devel@nongnu.org; Sat, 17 Dec 2011 03:30:12 -0500 From: Stefan Weil Date: Sat, 17 Dec 2011 09:27:38 +0100 Message-Id: <1324110459-3932-11-git-send-email-sw@weilnetz.de> In-Reply-To: <1324110459-3932-1-git-send-email-sw@weilnetz.de> References: <1324110459-3932-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 10/11] 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: qemu-trivial@nongnu.org, Stefan Weil Signed-off-by: Stefan Weil --- configure | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 0c791b5..1ae380f 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.2.5