]> xenbits.xensource.com Git - libvirt.git/commit
virNetServerPreExecRestart: Drop error reporting from virJSONValueObjectAppend* calls
authorPeter Krempa <pkrempa@redhat.com>
Thu, 11 Feb 2021 19:32:00 +0000 (20:32 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sat, 20 Feb 2021 12:26:36 +0000 (13:26 +0100)
commit6e35dc7bbea89080521e8eda3818950f72a528be
treec8ad9077097cd8db723ea07c2fb8b473b5b09dbf
parentedc09e83da901c08e6ea0985b35485cea24a6d0b
virNetServerPreExecRestart: Drop error reporting from virJSONValueObjectAppend* calls

The functions report errors already and the error can nowadays only
happen on programmer errors (if the passed virJSONValue isn't an
object), which won't happen. Remove the reporting.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/rpc/virnetserver.c