cmSdb.c : Fixed potential uninitialized variable in _cmSdbStoreSeqEvent().
This commit is contained in:
parent
9f4c7bd291
commit
c7e3f55a2d
@ -893,6 +893,7 @@ cmSdbRC_t _cmSdbStoreSeqEvent(
|
||||
double* durSecsRef )
|
||||
{
|
||||
cmSdbRC_t rc = kOkSdbRC;
|
||||
double maxEvtDurSecs = 0;
|
||||
|
||||
// retrieve the event record
|
||||
const cmSdbEvent_t* ep;
|
||||
@ -905,7 +906,6 @@ cmSdbRC_t _cmSdbStoreSeqEvent(
|
||||
cmSdbResponseH_t rh0 = cmSdbResponseNullHandle;
|
||||
unsigned rn0 = 0;
|
||||
unsigned ci = 0;
|
||||
double maxEvtDurSecs = 0;
|
||||
|
||||
// locate the channel pairs for 'ep'.
|
||||
if( seqChCnt>1 && ep->chCnt>1 )
|
||||
|
Loading…
Reference in New Issue
Block a user