cwMidiFileDev.cpp : Fixed uninitialized 'rc' in _set_end_msg_index().
This commit is contained in:
parent
13f18fe5f0
commit
71bfa84e15
@ -272,7 +272,7 @@ namespace cw
|
|||||||
// Set msg_idx to kInvalidIdx to make the last p->fileA[file_idx].msgN the end index.
|
// Set msg_idx to kInvalidIdx to make the last p->fileA[file_idx].msgN the end index.
|
||||||
rc_t _set_end_msg_index( file_dev_t* p, unsigned file_idx, unsigned msg_idx )
|
rc_t _set_end_msg_index( file_dev_t* p, unsigned file_idx, unsigned msg_idx )
|
||||||
{
|
{
|
||||||
rc_t rc;
|
rc_t rc = kOkRC;
|
||||||
unsigned i = 0;
|
unsigned i = 0;
|
||||||
|
|
||||||
if( file_idx == kInvalidIdx )
|
if( file_idx == kInvalidIdx )
|
||||||
|
Loading…
Reference in New Issue
Block a user