Revision: 6558
http://playerstage.svn.sourceforge.net/playerstage/?rev=6558&view=rev
Author: thjc
Date: 2008-06-13 16:37:38 -0700 (Fri, 13 Jun 2008)
Log Message:
-----------
Merged 6485 from trunk
Fixed to minor issues in libplayerc++ that caused compiler warnings for
unused variables
Modified Paths:
--------------
code/player/branches/release-2-1-patches/client_libs/libplayerc++/clientproxy.h
code/player/branches/release-2-1-patches/client_libs/libplayerc++/playerclient.h
Modified:
code/player/branches/release-2-1-patches/client_libs/libplayerc++/clientproxy.h
===================================================================
---
code/player/branches/release-2-1-patches/client_libs/libplayerc++/clientproxy.h
2008-06-13 20:57:37 UTC (rev 6557)
+++
code/player/branches/release-2-1-patches/client_libs/libplayerc++/clientproxy.h
2008-06-13 23:37:38 UTC (rev 6558)
@@ -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/branches/release-2-1-patches/client_libs/libplayerc++/playerclient.h
===================================================================
---
code/player/branches/release-2-1-patches/client_libs/libplayerc++/playerclient.h
2008-06-13 20:57:37 UTC (rev 6557)
+++
code/player/branches/release-2-1-patches/client_libs/libplayerc++/playerclient.h
2008-06-13 23:37:38 UTC (rev 6558)
@@ -77,7 +77,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