cmScore.c:Remove 'foundFl' from release build in 2 places to prevent compiler warnings.
This commit is contained in:
parent
3838d0d888
commit
f24f84b48d
@ -1719,9 +1719,11 @@ bool _cmScSetPerfEvent( cmSc_t* p, unsigned locIdx, unsigned smpIdx, unsigned p
|
|||||||
{
|
{
|
||||||
assert(locIdx < p->locCnt );
|
assert(locIdx < p->locCnt );
|
||||||
cmScoreLoc_t* lp = p->loc + locIdx;
|
cmScoreLoc_t* lp = p->loc + locIdx;
|
||||||
bool foundFl = false;
|
|
||||||
bool doneFl = true;
|
bool doneFl = true;
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
#ifndef NDEBUG
|
||||||
|
bool foundFl = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
// locate the event at the loc[locIdx]
|
// locate the event at the loc[locIdx]
|
||||||
for(i=0; i<lp->evtCnt; ++i)
|
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->perfSmpIdx = smpIdx;
|
||||||
ep->perfVel = vel;
|
ep->perfVel = vel;
|
||||||
|
#ifndef NDEBUG
|
||||||
foundFl = true;
|
foundFl = true;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if all notes have arrived for this location
|
// check if all notes have arrived for this location
|
||||||
|
Loading…
Reference in New Issue
Block a user