diff options
author | Laurent Vivier <lvivier@redhat.com> | 2018-03-23 15:32:01 +0100 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2018-03-27 10:17:32 -0500 |
commit | 625eaca9e516234ac70feeee5c4dad394c970820 (patch) | |
tree | a427fdca19326aa05183ad36b64d2374545b267c /monitor.c | |
parent | 710c2634078c030c1ca9cd3c15a96224ff3d90e2 (diff) |
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}}", |