diff options
| author | Laurent Vivier | 2018-03-23 15:32:01 +0100 |
|---|---|---|
| committer | Eric Blake | 2018-03-27 17:17:32 +0200 |
| commit | 625eaca9e516234ac70feeee5c4dad394c970820 (patch) | |
| tree | a427fdca19326aa05183ad36b64d2374545b267c /monitor.c | |
| parent | error: Remove NULL checks on error_propagate() calls (diff) | |
| download | qemu-625eaca9e516234ac70feeee5c4dad394c970820.tar.gz qemu-625eaca9e516234ac70feeee5c4dad394c970820.tar.xz qemu-625eaca9e516234ac70feeee5c4dad394c970820.zip | |
qdict: remove useless cast
Re-run Coccinelle script scripts/coccinelle/qobject.cocci
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20180323143202.28879-5-lvivier@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'monitor.c')
| -rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4315,7 +4315,7 @@ static QObject *get_qmp_greeting(Monitor *mon) /* Monitors that are not using IOThread won't support OOB */ continue; } - qlist_append(cap_list, qstring_from_str(QMPCapability_str(cap))); + qlist_append_str(cap_list, QMPCapability_str(cap)); } return qobject_from_jsonf("{'QMP': {'version': %p, 'capabilities': %p}}", |
