mirror of
https://github.com/nasa/trick.git
synced 2025-02-18 16:30:21 +00:00
#1215 add a warning when var_set can't find ref_attribute for variable name (variable doesn't exist) (#1216)
Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov> closes #1215
This commit is contained in:
parent
f073142066
commit
d6d7301d77
@ -543,6 +543,8 @@ int var_set_base( const char * var , T value , const char * units ) {
|
||||
} else {
|
||||
message_publish(MSG_WARNING,"Cannot assign to %s because io_spec does not allow input\n", var) ;
|
||||
}
|
||||
} else {
|
||||
message_publish(MSG_WARNING,"reference attributes not found for variable %s in call to var_set\n", var) ;
|
||||
}
|
||||
return 0 ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user