OSDN Git Service

tests/qapi-schema: Drop superfluous error_is_set()
authorMarkus Armbruster <armbru@redhat.com>
Fri, 2 May 2014 11:26:36 +0000 (13:26 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 9 May 2014 13:11:31 +0000 (09:11 -0400)
commit196857f8bfd2d34a170c3de808dc44bd6da22f4a
tree1f1597d42dafb9778a707b3c8b8c71aa0ceafec6
parent4af8be1f88dc32447e085469461d02859ca5f2fc
tests/qapi-schema: Drop superfluous error_is_set()

visit_type_TestStruct() does nothing when called with an error set.
Callers shouldn't do that, and no caller does.  Drop the superfluous
test.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
tests/test-qmp-input-visitor.c