mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
virobject: Remove the bogus ! from call to virObjectInitialize()
This commit is contained in:
parent
ea79a49f31
commit
0cff3554f3
@ -74,7 +74,7 @@ VIR_ONCE_GLOBAL_INIT(virObject);
|
||||
*/
|
||||
virClassPtr virClassForObject(void)
|
||||
{
|
||||
if (!virObjectInitialize() < 0)
|
||||
if (virObjectInitialize() < 0)
|
||||
return NULL;
|
||||
|
||||
return virObjectClass;
|
||||
@ -88,7 +88,7 @@ virClassPtr virClassForObject(void)
|
||||
*/
|
||||
virClassPtr virClassForObjectLockable(void)
|
||||
{
|
||||
if (!virObjectInitialize() < 0)
|
||||
if (virObjectInitialize() < 0)
|
||||
return NULL;
|
||||
|
||||
return virObjectLockableClass;
|
||||
|
Loading…
x
Reference in New Issue
Block a user