|
Boost-Commit : |
From: gennadiy.rozental_at_[hidden]
Date: 2007-10-14 15:24:20
Author: rogeeff
Date: 2007-10-14 15:24:19 EDT (Sun, 14 Oct 2007)
New Revision: 40027
URL: http://svn.boost.org/trac/boost/changeset/40027
Log:
set init value for result
Text files modified:
trunk/boost/test/impl/cpp_main.ipp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/test/impl/cpp_main.ipp
==============================================================================
--- trunk/boost/test/impl/cpp_main.ipp (original)
+++ trunk/boost/test/impl/cpp_main.ipp 2007-10-14 15:24:19 EDT (Sun, 14 Oct 2007)
@@ -67,7 +67,7 @@
int BOOST_TEST_DECL
prg_exec_monitor_main( int (*cpp_main)( int argc, char* argv[] ), int argc, char* argv[] )
{
- int result;
+ int result = 0;
boost::unit_test::const_string p( std::getenv( "BOOST_TEST_CATCH_SYSTEM_ERRORS" ) );
bool catch_system_errors = p != "no";
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk