[libvirt] [PATCH 12/3] build: silence coverity false positives

Laine Stump laine at laine.org
Tue Aug 2 22:33:38 UTC 2011


On 08/02/2011 05:53 PM, Eric Blake wrote:
> Coverity complained that 395 out of 409 virAsprintf calls are
> checked, and therefore assumed that the remaining cases are bugs
> waiting to happen.  But in each of these cases, a failed virAsprintf
> will properly set the target string to NULL, and pass on that
> failure to the caller, without wasting efforts to check the call.
> Adding the ignore_value silences Coverity.

ACK.




More information about the libvir-list mailing list