mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-09 22:07:25 +00:00
qapi: Drop dead parameter in gen_params()
Commit 5cdc8831 reworked gen_params() to be simpler, but forgot to clean up a now-unused errp named argument. No change to generated code. Backports commit e408311546b633b232312450d9017f4db21df0dc from qemu
This commit is contained in:
parent
b2c9386111
commit
b847298d08
|
@ -2,7 +2,7 @@
|
||||||
# QAPI helper library
|
# QAPI helper library
|
||||||
#
|
#
|
||||||
# Copyright IBM, Corp. 2011
|
# Copyright IBM, Corp. 2011
|
||||||
# Copyright (c) 2013-2015 Red Hat Inc.
|
# Copyright (c) 2013-2016 Red Hat Inc.
|
||||||
#
|
#
|
||||||
# Authors:
|
# Authors:
|
||||||
# Anthony Liguori <aliguori@us.ibm.com>
|
# Anthony Liguori <aliguori@us.ibm.com>
|
||||||
|
@ -1649,7 +1649,7 @@ def gen_visit_fields(members, prefix='', need_cast=False, skiperr=False):
|
||||||
if (visit_optional(v, &%(prefix)shas_%(c_name)s, "%(name)s")) {
|
if (visit_optional(v, &%(prefix)shas_%(c_name)s, "%(name)s")) {
|
||||||
''',
|
''',
|
||||||
prefix=prefix, c_name=c_name(memb.name),
|
prefix=prefix, c_name=c_name(memb.name),
|
||||||
name=memb.name, errp=errparg)
|
name=memb.name)
|
||||||
push_indent()
|
push_indent()
|
||||||
|
|
||||||
# Ugly: sometimes we need to cast away const
|
# Ugly: sometimes we need to cast away const
|
||||||
|
|
Loading…
Reference in a new issue