cmScore.c : Check that the score symbol table is valid at the beginning of cmScorePrintSets().
This commit is contained in:
parent
c169faa083
commit
3a236648d3
@ -2443,6 +2443,9 @@ void cmScorePrintSets( cmScH_t h, cmRpt_t* rpt )
|
|||||||
cmSc_t* p = _cmScHandleToPtr(h);
|
cmSc_t* p = _cmScHandleToPtr(h);
|
||||||
unsigned i,j,k;
|
unsigned i,j,k;
|
||||||
|
|
||||||
|
// the score must have been opened with a valid symbol table
|
||||||
|
assert( cmSymTblIsValid(p->stH) );
|
||||||
|
|
||||||
|
|
||||||
for(i=0,k=0; i<p->locCnt; ++i)
|
for(i=0,k=0; i<p->locCnt; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user