mail[Wesnoth-commits] r28497 - /trunk/src/addon_management.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on August 12, 2008 - 20:58:
Author: mordante
Date: Tue Aug 12 20:24:14 2008
New Revision: 28497

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28497&view=rev
Log:
Initialize all members.

Modified:
    trunk/src/addon_management.cpp

Modified: trunk/src/addon_management.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/addon_management.cpp?rev=28497&r1=28496&r2=28497&view=diff
==============================================================================
--- trunk/src/addon_management.cpp (original)
+++ trunk/src/addon_management.cpp Tue Aug 12 20:24:14 2008
@@ -1220,7 +1220,11 @@
        sane = false;
 }
 
-addon_version_info::addon_version_info(const std::string& src_str)
+addon_version_info::addon_version_info(const std::string& src_str) :
+       vmajor(0),
+       vminor(0),
+       revision(0),
+       sane(true)
 {
        const std::vector<std::string> components = utils::split(src_str, 
'.');
        try {




Related Messages


Powered by MHonArc, Updated Tue Aug 12 21:43:02 2008