cmScore.c:Remove 'foundFl' from release build in 2 places to prevent compiler warnings.

This commit is contained in:
kpl 2013-04-30 12:28:57 -07:00
parent 3838d0d888
commit f24f84b48d

View File

@ -1719,9 +1719,11 @@ bool _cmScSetPerfEvent( cmSc_t* p, unsigned locIdx, unsigned smpIdx, unsigned p
{
assert(locIdx < p->locCnt );
cmScoreLoc_t* lp = p->loc + locIdx;
bool foundFl = false;
bool doneFl = true;
unsigned i;
#ifndef NDEBUG
bool foundFl = false;
#endif
// locate the event at the loc[locIdx]
for(i=0; i<lp->evtCnt; ++i)
@ -1735,7 +1737,9 @@ bool _cmScSetPerfEvent( cmSc_t* p, unsigned locIdx, unsigned smpIdx, unsigned p
ep->perfSmpIdx = smpIdx;
ep->perfVel = vel;
#ifndef NDEBUG
foundFl = true;
#endif
}
// check if all notes have arrived for this location