cmScore.c : Fixed bug in _cmScParseFile() where _cmScParseSectionColumn()
overwrote 'rc' and thereby prevented the functio from returning the correct result code on fail.
This commit is contained in:
parent
c809469b62
commit
e6933b61d2
@ -1306,6 +1306,8 @@ cmScRC_t _cmScParseFile( cmSc_t* p, cmCtx_t* ctx, const cmChar_t* fn )
|
||||
break;
|
||||
}
|
||||
|
||||
if( rc == kOkScRC )
|
||||
{
|
||||
if( secs != DBL_MAX )
|
||||
cur_secs = secs;
|
||||
|
||||
@ -1328,6 +1330,7 @@ cmScRC_t _cmScParseFile( cmSc_t* p, cmCtx_t* ctx, const cmChar_t* fn )
|
||||
|
||||
barEvtIdx = cmInvalidIdx;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user