From 3e3746dce5d3ddb5b3333c8c23d60f8f1f0d3691 Mon Sep 17 00:00:00 2001 From: mat007 Date: Fri, 21 Sep 2012 22:19:35 +0000 Subject: [PATCH] Fixed missing variable initialization git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@566 860be788-9bd5-4423-9f1e-828f051e677b --- test/test_constraints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_constraints.cpp b/test/test_constraints.cpp index ff2338b..c5d8ea8 100644 --- a/test/test_constraints.cpp +++ b/test/test_constraints.cpp @@ -275,7 +275,7 @@ BOOST_AUTO_TEST_CASE( contain_with_const_char_ptr ) BOOST_CHECK( ! mock::contain( "not found" ).f_( "this is a string" ) ); BOOST_CHECK( ! mock::contain( "not found" ).f_( std::string( "this is a string" ) ) ); { - const char* s; + const char* s = 0; mock::constraint< mock::detail::contain< boost::reference_wrapper< const char* const >