Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9010

Modified Files:
        clientproxy.h playerc++.h 
Log Message:
Fix a few warning messages

Index: clientproxy.h
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/clientproxy.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** clientproxy.h       24 Oct 2007 22:32:02 -0000      1.7
--- clientproxy.h       6 Mar 2008 20:01:32 -0000       1.8
***************
*** 106,110 ****
      // I wish these could be pure virtual,
      // but they're used in the constructor/destructor
!     virtual void Subscribe(uint32_t aIndex) {};
  
      // Unsubscribe from the proxy
--- 106,110 ----
      // I wish these could be pure virtual,
      // but they're used in the constructor/destructor
!     virtual void Subscribe(uint32_t /*aIndex*/) {};
  
      // Unsubscribe from the proxy

Index: playerc++.h
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -d -r1.111 -r1.112
*** playerc++.h 7 Feb 2008 02:22:59 -0000       1.111
--- playerc++.h 6 Mar 2008 20:01:32 -0000       1.112
***************
*** 2309,2313 ****
      /// return a particular scan value
      double GetScan(uint32_t aIndex) const
!       { if (GetVar(mDevice->scan_count) <= aIndex) return -1; return 
GetVar(mDevice->scan[aIndex]); };
      /// This operator provides an alternate way of access the scan data.
      /// For example, SonarProxy[0] == SonarProxy.GetRange(0)
--- 2309,2313 ----
      /// return a particular scan value
      double GetScan(uint32_t aIndex) const
!       { if ((uint32_t)(GetVar(mDevice->scan_count)) <= aIndex) return -1.0; 
return GetVar(mDevice->scan[aIndex]); };
      /// This operator provides an alternate way of access the scan data.
      /// For example, SonarProxy[0] == SonarProxy.GetRange(0)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to