Revision: 6485
http://playerstage.svn.sourceforge.net/playerstage/?rev=6485&view=rev
Author: natepak
Date: 2008-06-06 14:09:56 -0700 (Fri, 06 Jun 2008)
Log Message:
-----------
Fixed to minor issues in libplayerc++ that caused compiler warnings for unused
variables
Modified Paths:
--------------
code/player/trunk/client_libs/libplayerc++/clientproxy.h
code/player/trunk/client_libs/libplayerc++/playerclient.h
Modified: code/player/trunk/client_libs/libplayerc++/clientproxy.h
===================================================================
--- code/player/trunk/client_libs/libplayerc++/clientproxy.h 2008-06-06
20:59:07 UTC (rev 6484)
+++ code/player/trunk/client_libs/libplayerc++/clientproxy.h 2008-06-06
21:09:56 UTC (rev 6485)
@@ -269,6 +269,9 @@
#ifdef HAVE_BOOST_SIGNALS
scoped_lock_t lock(mPc->mMutex);
aSubscriber.disconnect();
+#else
+ // This line is here to prevent compiler warnings of "unused varaibles"
+ aSubscriber = aSubscriber;
#endif
}
Modified: code/player/trunk/client_libs/libplayerc++/playerclient.h
===================================================================
--- code/player/trunk/client_libs/libplayerc++/playerclient.h 2008-06-06
20:59:07 UTC (rev 6484)
+++ code/player/trunk/client_libs/libplayerc++/playerclient.h 2008-06-06
21:09:56 UTC (rev 6485)
@@ -76,7 +76,7 @@
mutex() {};
class scoped_lock
{
- public: scoped_lock(mutex m) {};
+ public: scoped_lock(mutex /*m*/) {};
};
};
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit