[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH] Fix compiler warnings in test code
- From: Jim Meyering <jim meyering net>
- To: john levon sun com
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH] Fix compiler warnings in test code
- Date: Wed, 17 Dec 2008 14:36:44 +0100
john levon sun com wrote:
> # HG changeset patch
> # User john levon sun com
> # Date 1229399267 28800
> # Node ID 1b81ac255ad765ab782829e7fe0a55dc7bab72ab
> # Parent ee6ccfc062f49f514d7ae8924d5a596b18441fee
> Fix compiler warnings in test code
I suppose the latter was a warning from Sun's cc about
code after the "exit(77)" being unreachable.
ACK.
> diff --git a/tests/nodeinfotest.c b/tests/nodeinfotest.c
...
> -#ifndef __linux__
> - exit (77); /* means 'test skipped' for automake */
> -#endif
>
> abs_srcdir = getenv("abs_srcdir");
> if (!abs_srcdir)
> @@ -102,4 +109,7 @@ mymain(int argc, char **argv)
> return(ret==0 ? EXIT_SUCCESS : EXIT_FAILURE);
> }
...
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]