[Libguestfs] two small patches to appease clang/llvm static analysis
Richard W.M. Jones
rjones at redhat.com
Mon Sep 7 07:55:24 UTC 2009
On Tue, Sep 01, 2009 at 09:27:25AM +0100, Matthew Booth wrote:
> One for Rich when he gets back is whether these function pointers remain
> worthwhile. IIRC they were intended to be used when integrating with an
> external main loop, which I believe has fallen out of favour. I don't
> see any of these functions being replaced, so calling them directly
> might simplify things a little.
The main loop implementation needs to go, but some of these function
pointers would remain (eg. abort_cb which is required if anyone is mad
enough to replace the default action on malloc failure).
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
More information about the Libguestfs
mailing list