qemu-trivial.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] qmp: Remove unused variable.
@ 2014-04-22 21:44 Hani Benhabiles
  2014-04-24 15:19 ` Michael Tokarev
  2014-04-25 15:40 ` Luiz Capitulino
  0 siblings, 2 replies; 7+ messages in thread
From: Hani Benhabiles @ 2014-04-22 21:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, lcapitulino

Signed-off-by: Hani Benhabiles <hani@linux.com>
---
 qmp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/qmp.c b/qmp.c
index 87a28f7..44a6e17 100644
--- a/qmp.c
+++ b/qmp.c
@@ -194,11 +194,10 @@ void qmp_system_wakeup(Error **errp)
 ObjectPropertyInfoList *qmp_qom_list(const char *path, Error **errp)
 {
     Object *obj;
-    bool ambiguous = false;
     ObjectPropertyInfoList *props = NULL;
     ObjectProperty *prop;
 
-    obj = object_resolve_path(path, &ambiguous);
+    obj = object_resolve_path(path, NULL);
     if (obj == NULL) {
         error_set(errp, QERR_DEVICE_NOT_FOUND, path);
         return NULL;
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-04-28  8:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-22 21:44 [Qemu-trivial] [PATCH] qmp: Remove unused variable Hani Benhabiles
2014-04-24 15:19 ` Michael Tokarev
2014-04-25 15:40 ` Luiz Capitulino
2014-04-25 15:51   ` Andreas Färber
2014-04-26  0:46     ` Hani Benhabiles
2014-04-28  8:38       ` Paolo Bonzini
2014-04-28  8:37     ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).