Revision: 9088
          http://playerstage.svn.sourceforge.net/playerstage/?rev=9088&view=rev
Author:   natepak
Date:     2012-01-04 22:18:25 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
Removed some build warnings

Modified Paths:
--------------
    code/player/trunk/libplayercore/driver.h
    code/player/trunk/libplayercore/property.cpp
    code/player/trunk/libplayercore/property.h

Modified: code/player/trunk/libplayercore/driver.h
===================================================================
--- code/player/trunk/libplayercore/driver.h    2012-01-01 03:47:04 UTC (rev 
9087)
+++ code/player/trunk/libplayercore/driver.h    2012-01-04 22:18:25 UTC (rev 
9088)
@@ -340,7 +340,7 @@
     @param addr Address of the device to subscribe to (the driver may
     have more than one interface).
     @returns Returns 0 on success, -ve on error and 1 for unimplemented. */
-    virtual int Subscribe(QueuePointer &queue, player_devaddr_t addr) {return 
1;};
+    virtual int Subscribe(QueuePointer &/*queue*/, player_devaddr_t /*addr*/) 
{return 1;};
 
     /** @brief Unsubscribe from this driver.
 
@@ -366,7 +366,7 @@
     @param addr Address of the device to unsubscribe from (the driver may
     have more than one interface).
     @returns Returns 0 on success. */
-    virtual int Unsubscribe(QueuePointer &queue, player_devaddr_t addr) 
{return 1;};
+    virtual int Unsubscribe(QueuePointer &/*queue*/, player_devaddr_t 
/*addr*/) {return 1;};
 
     /** @brief Terminate the driver.
 

Modified: code/player/trunk/libplayercore/property.cpp
===================================================================
--- code/player/trunk/libplayercore/property.cpp        2012-01-01 03:47:04 UTC 
(rev 9087)
+++ code/player/trunk/libplayercore/property.cpp        2012-01-04 22:18:25 UTC 
(rev 9088)
@@ -85,7 +85,7 @@
        }
 }
 
-const bool Property::KeyIsEqual (const char *rhs)
+bool Property::KeyIsEqual (const char *rhs)
 {
        if (!strcmp (key, rhs))
                return true;

Modified: code/player/trunk/libplayercore/property.h
===================================================================
--- code/player/trunk/libplayercore/property.h  2012-01-01 03:47:04 UTC (rev 
9087)
+++ code/player/trunk/libplayercore/property.h  2012-01-04 22:18:25 UTC (rev 
9088)
@@ -69,7 +69,7 @@
                virtual void GetValueToMessage (void *data) const = 0;
                virtual void SetValueFromMessage (const void *data) = 0;
 
-               virtual const bool KeyIsEqual (const char *rhs);
+               virtual bool KeyIsEqual (const char *rhs);
 
                // Config file read method
                virtual bool ReadConfig (ConfigFile *cf, int section) = 0;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to