Re: [libvirt] [PATCH] Fix compiler warnings in test code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



john.levon@xxxxxxx wrote:
> # HG changeset patch
> # User john.levon@xxxxxxx
> # 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);
>  }
...

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]