cmScore.c : Check that the score symbol table is valid at the beginning of cmScorePrintSets().

This commit is contained in:
Kevin Larke 2016-04-23 16:07:42 -04:00
parent c169faa083
commit 3a236648d3

View File

@ -2443,6 +2443,9 @@ void cmScorePrintSets( cmScH_t h, cmRpt_t* rpt )
cmSc_t* p = _cmScHandleToPtr(h);
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)
{