mirror of
https://github.com/nasa/trick.git
synced 2025-04-12 21:53:03 +00:00
replace garbage value on enum error PythonPrint.cpp
This commit is contained in:
parent
b65b092e3b
commit
8f20710761
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user