mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
parallels: Remove unused JSON fetch of "OS"
Commit idac1c77f0
removed the "os" field in "parallelsDomObj" that commit idaa296e6c
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…
Reference in New Issue
Block a user