certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi libRTI/RTItypesImp.cc libHLA/HLAvariantRe...


From: CERTI CVS commits
Subject: [certi-cvs] certi libRTI/RTItypesImp.cc libHLA/HLAvariantRe...
Date: Mon, 11 Jul 2011 11:00:11 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      11/07/11 11:00:11

Modified files:
        libRTI         : RTItypesImp.cc 
        libHLA         : HLAvariantRecord.hh 

Log message:
        Fix some compiler warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libRTI/RTItypesImp.cc?cvsroot=certi&r1=3.8&r2=3.9
http://cvs.savannah.gnu.org/viewcvs/certi/libHLA/HLAvariantRecord.hh?cvsroot=certi&r1=1.2&r2=1.3

Patches:
Index: libRTI/RTItypesImp.cc
===================================================================
RCS file: /sources/certi/certi/libRTI/RTItypesImp.cc,v
retrieving revision 3.8
retrieving revision 3.9
diff -u -b -r3.8 -r3.9
--- libRTI/RTItypesImp.cc       10 Nov 2010 08:18:47 -0000      3.8
+++ libRTI/RTItypesImp.cc       11 Jul 2011 11:00:09 -0000      3.9
@@ -16,7 +16,7 @@
 // License along with this program ; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// $Id: RTItypesImp.cc,v 3.8 2010/11/10 08:18:47 erk Exp $
+// $Id: RTItypesImp.cc,v 3.9 2011/07/11 11:00:09 erk Exp $
 // ----------------------------------------------------------------------------
 
 #include "RTItypesImp.hh"
@@ -406,7 +406,7 @@
 
 void ParameterHandleValuePairSetImp::empty()
 {
-    return _set.clear();
+    _set.clear();
 }
 
 RTI::ULong ParameterHandleValuePairSetImp::start() const
@@ -565,4 +565,4 @@
     effectiveExtents = extents;
 }
 
-// $Id: RTItypesImp.cc,v 3.8 2010/11/10 08:18:47 erk Exp $
+// $Id: RTItypesImp.cc,v 3.9 2011/07/11 11:00:09 erk Exp $

Index: libHLA/HLAvariantRecord.hh
===================================================================
RCS file: /sources/certi/certi/libHLA/HLAvariantRecord.hh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- libHLA/HLAvariantRecord.hh  24 Jun 2009 12:33:31 -0000      1.2
+++ libHLA/HLAvariantRecord.hh  11 Jul 2011 11:00:09 -0000      1.3
@@ -11,7 +11,7 @@
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // Lesser General Public License for more details.
 //
-// $Id: HLAvariantRecord.hh,v 1.2 2009/06/24 12:33:31 gotthardp Exp $
+// $Id: HLAvariantRecord.hh,v 1.3 2011/07/11 11:00:09 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef _HLATYPES_VARIANTRECORD_HH
@@ -304,9 +304,9 @@
     void copy(int e, void* source)
     {
         if (e == E)
-            return ((M*)this)->copy(source);
+            ((M*)this)->copy(source);
         else
-            return ((N*)this)->copy(e, source);
+            ((N*)this)->copy(e, source);
     }
 
     static const size_t m_octetBoundary = MAX(M::m_octetBoundary, 
N::m_octetBoundary);
@@ -352,9 +352,9 @@
     void copy(int e, void* source)
     {
         if (e == E)
-            return ((M*)this)->copy(source);
+            ((M*)this)->copy(source);
         else
-            return ((N*)this)->copy(e, source);
+            ((N*)this)->copy(e, source);
     }
 
     static const size_t m_octetBoundary = MAX(M::m_octetBoundary, 
N::m_octetBoundary);
@@ -404,5 +404,5 @@
 
 #endif // _HLATYPES_VARIANTRECORD_HH
 
-// $Id: HLAvariantRecord.hh,v 1.2 2009/06/24 12:33:31 gotthardp Exp $
+// $Id: HLAvariantRecord.hh,v 1.3 2011/07/11 11:00:09 erk Exp $
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]