From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvoMD-0002jO-UD for qemu-devel@nongnu.org; Mon, 30 Jul 2012 07:42:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvoM4-000403-Gi for qemu-devel@nongnu.org; Mon, 30 Jul 2012 07:41:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvoM4-0003zs-8U for qemu-devel@nongnu.org; Mon, 30 Jul 2012 07:41:44 -0400 From: Avi Kivity Date: Mon, 30 Jul 2012 14:41:33 +0300 Message-Id: <1343648493-27905-1-git-send-email-avi@redhat.com> Subject: [Qemu-devel] [PATCH] configure: fix libcap detection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , qemu-devel@nongnu.org - avoid assigned-but-not-used error - avoid missing return error Signed-off-by: Avi Kivity --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 7767aca..5fb449d 100755 --- a/configure +++ b/configure @@ -2099,7 +2099,7 @@ if test "$cap" != "no" ; then cat > $TMPC < #include -int main(void) { cap_t caps; caps = cap_init(); } +int main(void) { cap_t caps; caps = cap_init(); (void)caps; return 0; } EOF if compile_prog "" "-lcap" ; then cap=yes -- 1.7.11.3