mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 10:03:49 +03:00
parallels: Remove unused JSON fetch of "OS"
Commit id ac1c77f0 removed the "os" field in "parallelsDomObj" that commit id aa296e6c had added and the data is not used by the function.
This commit is contained in:
parent
6c7c7cabf9
commit
4d4a8aa9ad
@ -814,9 +814,6 @@ parallelsLoadDomain(parallelsConnPtr privconn, virJSONValuePtr jobj)
|
||||
if (!(pdom->home = strdup(tmp)))
|
||||
goto no_memory;
|
||||
|
||||
if (!(tmp = virJSONValueObjectGetString(jobj, "OS")))
|
||||
goto cleanup;
|
||||
|
||||
if (!(state = virJSONValueObjectGetString(jobj, "State"))) {
|
||||
parallelsParseError();
|
||||
goto cleanup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user