Re: [PATCH] loader: Negative loop bound

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

 



On Sat, May 24, 2014 at 02:49:39AM +0200, Fabiano Fidêncio wrote:
> osinfo_loader_nodeset() can return -1 without set an error

Do you have more details about the scenario in which it occurs? It seems
this can only happen happening through one of the
g_return_val_if_fail()?

g_return_if_fail() are used to flag programmers' errors, after such an
error is reported, behaviour is undefined, so we generally don't try to
handle them.

Christophe

Attachment: pgpszO0xLsUfx.pgp
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

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

  Powered by Linux