Fix uninitialized variable warning

This commit is contained in:
theoreticalbts 2016-08-29 13:11:37 -04:00
parent 21d62f0a96
commit 360d86da80

View file

@ -161,7 +161,7 @@ template<> struct reflector<ENUM> { \
} \
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<int64_t>(s); \