Re: [libvirt] [PATCH] rpc: Make the dispatch generator handle 'void name(void)' style procedures

2011-07-19 Thread Daniel P. Berrange
On Tue, Jul 19, 2011 at 02:22:10PM +0200, Matthias Bolte wrote: > Currently there are no such procedures in the protocol, but programming > errors like a missing _args or _ret suffix on the structs in the .x files > can create such a situation by accident. Making the generator aware of > this avoid

[libvirt] [PATCH] rpc: Make the dispatch generator handle 'void name(void)' style procedures

2011-07-19 Thread Matthias Bolte
Currently there are no such procedures in the protocol, but programming errors like a missing _args or _ret suffix on the structs in the .x files can create such a situation by accident. Making the generator aware of this avoids bogus errors from the generator such as: Use of uninitialized value