Re: [libvirt] [PATCH] (absolutePathFromBaseFile): fix up preceding commit

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

 



Jim Meyering wrote:
...
> +    ignore_value(virAsprintf(&res, "%.*s/%s", (int) d_len, base_file, path));

Regarding this, I will be removing the warn_unused_result
attribute from virAsprintf (and this use of ignore_value),
since it *is* ok to ignore its return value, since it guarantees
the pointer arg is set to NULL whenever it fails.

--
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]