You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/04/01 23:08:56 UTC

svn commit: r1463302 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h

Author: tabish
Date: Mon Apr  1 21:08:56 2013
New Revision: 1463302

URL: http://svn.apache.org/r1463302
Log:
Fix some warnings

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h?rev=1463302&r1=1463301&r2=1463302&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h Mon Apr  1 21:08:56 2013
@@ -312,7 +312,7 @@ namespace concurrent {
             /**
              * Implements AQS base acquire to succeed if ran or cancelled
              */
-            virtual int tryAcquireShared(int ignore) {
+            virtual int tryAcquireShared(int ignore DECAF_UNUSED) {
                 return innerIsDone() ? 1 : -1;
             }
 
@@ -320,7 +320,7 @@ namespace concurrent {
              * Implements AQS base release to always signal after setting
              * final done status by nulling runner thread.
              */
-            virtual bool tryReleaseShared(int ignore) {
+            virtual bool tryReleaseShared(int ignore DECAF_UNUSED) {
                 runner = NULL;
                 return true;
             }