changeset 22 | ddc455616bd6 |
parent 0 | e4d67989cc36 |
child 45 | 4b03adbd26ca |
child 71 | 28ccaba883f4 |
--- a/ossrv_pub/boost_apis/boost/lexical_cast.hpp Fri Apr 16 16:46:38 2010 +0300 +++ b/ossrv_pub/boost_apis/boost/lexical_cast.hpp Mon May 03 14:06:43 2010 +0300 @@ -217,7 +217,7 @@ typedef typename detail::array_to_pointer_decay<Source>::type NewSource; detail::lexical_stream<Target, NewSource> interpreter; - Target result; + Target result = 0; if(!(interpreter << arg && interpreter >> result)) throw_exception(bad_lexical_cast(typeid(NewSource), typeid(Target)));