[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi/libCERTI Exception.hh
From: |
CERTI CVS commits |
Subject: |
[certi-cvs] certi/libCERTI Exception.hh |
Date: |
Mon, 16 Sep 2013 13:23:04 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Eric NOULARD <erk> 13/09/16 13:23:04
Modified files:
libCERTI : Exception.hh
Log message:
Avoid compiler warning about non-initialized field member.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Exception.hh?cvsroot=certi&r1=3.11&r2=3.12
Patches:
Index: Exception.hh
===================================================================
RCS file: /sources/certi/certi/libCERTI/Exception.hh,v
retrieving revision 3.11
retrieving revision 3.12
diff -u -b -r3.11 -r3.12
--- Exception.hh 31 May 2010 09:33:26 -0000 3.11
+++ Exception.hh 16 Sep 2013 13:23:04 -0000 3.12
@@ -20,7 +20,7 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
-// $Id: Exception.hh,v 3.11 2010/05/31 09:33:26 erk Exp $
+// $Id: Exception.hh,v 3.12 2013/09/16 13:23:04 erk Exp $
// ----------------------------------------------------------------------------
#ifndef _CERTI_EXCEPTION_HH
@@ -161,7 +161,7 @@
const char *_name;
Exception(const std::string &reason)
- : _reason(reason) { }
+ : _reason(reason), _name("Exception") { }
virtual ~Exception() { }
const std::string displayMe() const;
virtual long getType() const = 0;
@@ -303,4 +303,4 @@
#endif // _CERTI_EXCEPTION_HH
-// $Id: Exception.hh,v 3.11 2010/05/31 09:33:26 erk Exp $
+// $Id: Exception.hh,v 3.12 2013/09/16 13:23:04 erk Exp $
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi/libCERTI Exception.hh,
CERTI CVS commits <=