mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
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
Block a user