mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 21:53:10 +00:00
initialize variable removing condition on garbage variable MatLab.cpp
This commit is contained in:
parent
d16064aaf0
commit
b10b56e671
@ -653,7 +653,7 @@ int MatLabLocateParam(char * file_name, char * param_name, char * time_name) {
|
|||||||
int array_type, array_bytes, array_flags[2];
|
int array_type, array_bytes, array_flags[2];
|
||||||
int array_complex, array_class;
|
int array_complex, array_class;
|
||||||
int dim_type, dim_bytes, num_dims;
|
int dim_type, dim_bytes, num_dims;
|
||||||
int * dims;
|
int * dims = nullptr;
|
||||||
int name_bytes;
|
int name_bytes;
|
||||||
char * name, * field_name, * variable_name;
|
char * name, * field_name, * variable_name;
|
||||||
int real_type, real_bytes;
|
int real_type, real_bytes;
|
||||||
|
Loading…
Reference in New Issue
Block a user