qapi: Consistent generated code: prefer error 'err'
authorEric Blake <eblake@redhat.com>
Tue, 29 Sep 2015 22:21:08 +0000 (16:21 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 12 Oct 2015 16:46:49 +0000 (18:46 +0200)
commit2a0f50e8d973b01eda4c63bac4a5c79ea0f584ef
tree0b06661adc5bcf9f9c57cea9e3eb28cb7a5532aa
parent376863ef4895ae709aadb6f26365a5973310ef09
qapi: Consistent generated code: prefer error 'err'

We had some pointless differences in the generated code for visit,
command marshalling, and events; unifying them makes it easier for
future patches to consolidate to common helper functions.
This is one patch of a series to clean up these differences.

This patch consistently names the local error variable 'err' rather
than 'local_err'.

No change in semantics to the generated code.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1443565276-4535-11-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/qapi-code-gen.txt
scripts/qapi-commands.py
scripts/qapi-event.py