[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 09/10] virobject: Remove the bogus ! from call to virObjectInitialize()



---
 src/util/virobject.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/virobject.c b/src/util/virobject.c
index 838b5cd..7f08a11 100644
--- a/src/util/virobject.c
+++ b/src/util/virobject.c
@@ -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;
-- 
1.7.11.7


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]