Explorar el Código

Fixed warning about unused computation result.

Sascha Zelzer hace 13 años
padre
commit
13bb56693e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Plugins/org.commontk.eventadmin/dispatch/ctkEALinkedQueue_p.h

+ 1 - 1
Plugins/org.commontk.eventadmin/dispatch/ctkEALinkedQueue_p.h

@@ -48,7 +48,7 @@ struct ctkEALinkedNode
   {
     if (value && value->autoDelete())
     {
-      !--value->ref;
+      --value->ref;
     }
   }