Browse Source

Fixed warning about unused computation result.

Sascha Zelzer 13 years ago
parent
commit
13bb56693e
1 changed files with 1 additions and 1 deletions
  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;
     }
   }