summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-05-12 09:01:51 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-05-12 09:01:51 +0100
commit704eb1c09963149db4a3407d5ba173ba2a9244bb (patch)
tree8a1a55bf1dcb52891615a51a37c06a1b7b3eefa2 /block
parent0403b0f539f40a21da60409b825b4653b273ab39 (diff)
parent1ceca07e48ead0dd2e41576c81d40e6a91cafefd (diff)
downloadqemu-704eb1c09963149db4a3407d5ba173ba2a9244bb.zip
Merge remote-tracking branch 'remotes/qmp-unstable/tags/for-upstream' into staging
QMP pull request # gpg: Signature made Mon May 11 14:15:19 2015 BST using RSA key ID E24ED5A7 # gpg: Good signature from "Luiz Capitulino <lcapitulino@gmail.com>" * remotes/qmp-unstable/tags/for-upstream: scripts: qmp-shell: Add verbose flag scripts: qmp-shell: add transaction subshell scripts: qmp-shell: Expand support for QMP expressions scripts: qmp-shell: refactor helpers MAINTAINERS: New maintainer for QMP and QAPI json-parser: Accept 'null' in QMP qobject: Add a special null QObject qobject: Clean up around qtype_code QJSON: Use OBJECT_CHECK Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'block')
-rw-r--r--block/qapi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/block/qapi.c b/block/qapi.c
index 063dd1bc1f..18d2b95f54 100644
--- a/block/qapi.c
+++ b/block/qapi.c
@@ -523,9 +523,6 @@ static void dump_qobject(fprintf_function func_fprintf, void *f,
QDECREF(value);
break;
}
- case QTYPE_NONE:
- break;
- case QTYPE_MAX:
default:
abort();
}