Re: [Qemu-devel] [PATCH 25/26] qapi-commands: Drop useless initialization

2015-08-04 Thread Eric Blake
On 08/04/2015 03:18 AM, Markus Armbruster wrote: > In generated command handlers, the assignment to retval dominates its > only use. Therefore, its initialization is useless. Drop it. > > Suggested-by: Eric Blake > Signed-off-by: Markus Armbruster > --- > docs/qapi-code-gen.txt | 2 +- > sc

[Qemu-devel] [PATCH 25/26] qapi-commands: Drop useless initialization

2015-08-04 Thread Markus Armbruster
In generated command handlers, the assignment to retval dominates its only use. Therefore, its initialization is useless. Drop it. Suggested-by: Eric Blake Signed-off-by: Markus Armbruster --- docs/qapi-code-gen.txt | 2 +- scripts/qapi-commands.py | 8 ++-- 2 files changed, 3 insertion