replace garbage value on enum error PythonPrint.cpp

This commit is contained in:
Scott Fennell 2018-10-03 10:45:15 -05:00
parent b65b092e3b
commit 8f20710761

View File

@ -121,6 +121,7 @@ void Trick::PythonPrint::write_singleton( std::ostream& chkpnt_os, void* address
} else {
std::cerr << __FUNCTION__ << " enumeration size error." << std::endl;
std::cerr.flush();
value = -1;
}
enum_attr = (ENUM_ATTR*)attr->attr;