mirror of https://gitee.com/openkylin/libvirt.git
virConnectGetLibVersion: Avoid error message on success.
* src/libvirt.c (virConnectGetLibVersion): Don't emit error on success.
This commit is contained in:
parent
890af4ca8f
commit
0327ed8718
|
@ -1660,8 +1660,9 @@ virConnectGetLibVersion(virConnectPtr conn, unsigned long *libVer)
|
|||
return ret;
|
||||
}
|
||||
|
||||
*libVer = LIBVIR_VERSION_NUMBER;
|
||||
ret = 0;
|
||||
*libVer = LIBVIR_VERSION_NUMBER;
|
||||
return 0;
|
||||
|
||||
error:
|
||||
virDispatchError(conn);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue