diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2014-05-22 19:04:48 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2014-05-22 19:04:49 +0100 |
| commit | 178ac111bca16c08a79b2609ebdc75197bea976a (patch) | |
| tree | d71997ac5687bf97ca2477f8f54e2edced71d2a6 /scripts/qapi-commands.py | |
| parent | 6054d883d6138bfc92c73a7c090c824b64086fd2 (diff) | |
| parent | fc13d937269c1cd01a4b7720c1dcce01722727a2 (diff) | |
| download | focaccia-qemu-178ac111bca16c08a79b2609ebdc75197bea976a.tar.gz focaccia-qemu-178ac111bca16c08a79b2609ebdc75197bea976a.zip | |
Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging
* remotes/qmp-unstable/queue/qmp: qapi: zero-initialize all QMP command parameters scripts/qapi.py: Avoid syntax not supported by Python 2.4 doc: add "setup" to list of migration states Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi-commands.py')
| -rw-r--r-- | scripts/qapi-commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py index 386f17ef44..7d93d01ed2 100644 --- a/scripts/qapi-commands.py +++ b/scripts/qapi-commands.py @@ -111,7 +111,7 @@ bool has_%(argname)s = false; argname=c_var(argname), argtype=c_type(argtype)) else: ret += mcgen(''' -%(argtype)s %(argname)s; +%(argtype)s %(argname)s = {0}; ''', argname=c_var(argname), argtype=c_type(argtype)) |