mirror of
https://github.com/mii443/qemu.git
synced 2025-09-01 14:49:23 +00:00
error: Consistently name Error * objects err, and not errp
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1450452927-8346-25-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
@ -81,7 +81,7 @@ static void test_visitor_out_intList(TestOutputVisitorData *data,
|
||||
3, 4, 5, 6, 11, 12, 13, 21, 22, INT64_MAX - 1, INT64_MAX};
|
||||
intList *list = NULL, **tmp = &list;
|
||||
int i;
|
||||
Error *errp = NULL;
|
||||
Error *err = NULL;
|
||||
char *str;
|
||||
|
||||
for (i = 0; i < sizeof(value) / sizeof(value[0]); i++) {
|
||||
@ -90,8 +90,8 @@ static void test_visitor_out_intList(TestOutputVisitorData *data,
|
||||
tmp = &(*tmp)->next;
|
||||
}
|
||||
|
||||
visit_type_intList(data->ov, &list, NULL, &errp);
|
||||
g_assert(errp == NULL);
|
||||
visit_type_intList(data->ov, &list, NULL, &err);
|
||||
g_assert(err == NULL);
|
||||
|
||||
str = string_output_get_string(data->sov);
|
||||
g_assert(str != NULL);
|
||||
|
Reference in New Issue
Block a user