diff --git a/include/fc/reflect/reflect.hpp b/include/fc/reflect/reflect.hpp index 075ce80..c9f5405 100644 --- a/include/fc/reflect/reflect.hpp +++ b/include/fc/reflect/reflect.hpp @@ -161,7 +161,7 @@ template<> struct reflector { \ } \ static ENUM from_string( const char* s ) { \ BOOST_PP_SEQ_FOR_EACH( FC_REFLECT_ENUM_FROM_STRING, ENUM, FIELDS ) \ - int64_t i; \ + int64_t i = 0; \ try \ { \ i = boost::lexical_cast(s); \