mirror of
https://github.com/nasa/trick.git
synced 2025-02-20 17:22:52 +00:00
#673 add break and remove trailing whitespace from @pappyvw review
This commit is contained in:
parent
bc35e64406
commit
587ce0aab5
@ -111,7 +111,7 @@ MatLab::MatLab(char * file_name, char * param_name, char * time_name) {
|
||||
swap_ = 0;
|
||||
} else if (magic == 0x494d) {
|
||||
swap_ = 1;
|
||||
}
|
||||
}
|
||||
|
||||
param_found = time_found = false;
|
||||
while ( (!param_found || !time_found) && !feof(fp_)) {
|
||||
|
@ -366,7 +366,8 @@ int MatLab4LocateParam( char *file_name , char *param_name , char *time_name ) {
|
||||
break ;
|
||||
default :
|
||||
std::cerr << "Matlab4 " << __FUNCTION__ << "ERROR: invalid matrix size" << std::endl;
|
||||
size = -1;
|
||||
size = -1 ;
|
||||
break ;
|
||||
}
|
||||
|
||||
fread( &row , 4 , 1 , fp ) ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user