hmp: Cache use of qapi visitor
commit9b65859d5e2e43fa89365224c5330e8c72ab760b
authorEric Blake <eblake@redhat.com>
Fri, 29 Jan 2016 13:48:43 +0000 (29 06:48 -0700)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 8 Feb 2016 16:29:55 +0000 (8 17:29 +0100)
tree170ad5e281f25979a3146515fce1c065c255dfe1
parent7019738d4c9ce49b8fad09e9774393ad127b835d
hmp: Cache use of qapi visitor

Cache the visitor in a local variable instead of repeatedly
calling the accessor.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1454075341-13658-8-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hmp.c
vl.c