[PATCH] rpc: Use struct zero initializer for args

Daniel P. Berrangé berrange at redhat.com
Thu Jan 26 16:23:13 UTC 2023


On Thu, Jan 26, 2023 at 05:22:03PM +0100, Michal Privoznik wrote:
> In a recent commit of v9.0.0-104-g0211e430a8 I've turned all args
> vars in src/remote/remote_driver.c to be initialized wit {0}.
> What I've missed was the generated code.
> 
> Do what we've done in v9.0.0-13-g1c656836e3 and init also args,
> not just ret.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/rpc/gendispatch.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


More information about the libvir-list mailing list