Am 31.07.2012 08:52, schrieb Aneesh Kumar K.V:
Avi Kivity <a...@redhat.com> writes:

  - avoid assigned-but-not-used error
  - avoid missing return error

Signed-off-by: Avi Kivity <a...@redhat.com>

Acked-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com>

        
---
  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 <<EOF
  #include <stdio.h>
  #include <sys/capability.h>
-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


Hi Anthony,

please apply http://patchwork.ozlabs.org/patch/171067/,
or we'll get a 4th bug fix for this.

Peter sent a series with this one and more patches on
2012-07-18 (1st: http://patchwork.ozlabs.org/patch/171686/).
At least the first 10 of them should be applied.

Please tell me if you need more information or support.

Cheers,
Stefan W.


Reply via email to