[libvirt] [PATCH 6/9] Introduce virNetSASLContextDispose

Erik Skultety eskultet at redhat.com
Mon Apr 16 10:17:52 UTC 2018


On Fri, Apr 13, 2018 at 04:47:13PM +0200, Michal Privoznik wrote:
> Strictly speaking this is not needed right now. However, next
> commits will require dispose function to exist.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---

...

>  src/rpc/virnetsaslcontext.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> +void virNetSASLContextDispose(void *obj ATTRIBUTE_UNUSED)
> +{
> +    /* nada */

One more thing, either leave the body empty, or replace the commentary with a
plain "return" call.

Erik




More information about the libvir-list mailing list