certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/libCERTI CMakeLists.txt SocketTCP.hh Sock...


From: CERTI CVS commits
Subject: [certi-cvs] certi/libCERTI CMakeLists.txt SocketTCP.hh Sock...
Date: Wed, 04 Sep 2013 12:53:03 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      13/09/04 12:53:03

Modified files:
        libCERTI       : CMakeLists.txt SocketTCP.hh SocketTCP.cc 

Log message:
        Calm down warning concerning uninitialized field member in constructor.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/CMakeLists.txt?cvsroot=certi&r1=1.39&r2=1.40
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/SocketTCP.hh?cvsroot=certi&r1=3.24&r2=3.25
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/SocketTCP.cc?cvsroot=certi&r1=3.34&r2=3.35

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/libCERTI/CMakeLists.txt,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40

Index: SocketTCP.hh
===================================================================
RCS file: /sources/certi/certi/libCERTI/SocketTCP.hh,v
retrieving revision 3.24
retrieving revision 3.25
diff -u -b -r3.24 -r3.25
--- SocketTCP.hh        24 Nov 2009 21:44:47 -0000      3.24
+++ SocketTCP.hh        4 Sep 2013 12:53:02 -0000       3.25
@@ -89,8 +89,8 @@
        #ifdef _WIN32
          static int winsockInits;
        #endif
-bool   _est_init_tcp;
-struct sockaddr_in _sockIn;
+    bool _est_init_tcp;
+    struct sockaddr_in _sockIn;
 
 #ifdef SOCKTCP_BUFFER_LENGTH
        // This class can use a buffer to reduce the number of systems calls

Index: SocketTCP.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/SocketTCP.cc,v
retrieving revision 3.34
retrieving revision 3.35
diff -u -b -r3.34 -r3.35
--- SocketTCP.cc        11 Nov 2010 12:02:05 -0000      3.34
+++ SocketTCP.cc        4 Sep 2013 12:53:03 -0000       3.35
@@ -17,7 +17,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: SocketTCP.cc,v 3.34 2010/11/11 12:02:05 erk Exp $
+// $Id: SocketTCP.cc,v 3.35 2013/09/04 12:53:03 erk Exp $
 // ----------------------------------------------------------------------------
 
 #include "SocketTCP.hh"
@@ -90,10 +90,11 @@
 // ----------------------------------------------------------------------------
 SocketTCP::SocketTCP()
 {
-_est_init_tcp = false ;
+    _socket_tcp    = 0;
+    _est_init_tcp  = false;
 
-SentBytesCount = 0 ;
-RcvdBytesCount = 0 ;
+    SentBytesCount = 0;
+    RcvdBytesCount = 0;
 
 #ifdef _WIN32
        winsockStartup();
@@ -580,4 +581,4 @@
 
 } // namespace
 
-// $Id: SocketTCP.cc,v 3.34 2010/11/11 12:02:05 erk Exp $
+// $Id: SocketTCP.cc,v 3.35 2013/09/04 12:53:03 erk Exp $



reply via email to

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