cwCsv.cpp : Fix uninitialized variable in test().
This commit is contained in:
parent
ccc222c063
commit
cac3b1752d
@ -585,7 +585,7 @@ cw::rc_t cw::csv::test( const object_t* args )
|
|||||||
for(unsigned i=0; i<10 && (rc = next_line(csvH)) == kOkRC; ++i )
|
for(unsigned i=0; i<10 && (rc = next_line(csvH)) == kOkRC; ++i )
|
||||||
{
|
{
|
||||||
const char* opcode = nullptr;
|
const char* opcode = nullptr;
|
||||||
unsigned d0,d1;
|
unsigned d0=0xff,d1=0xff;
|
||||||
if((rc = getv(csvH,"opcode",opcode,
|
if((rc = getv(csvH,"opcode",opcode,
|
||||||
"d0",d0,
|
"d0",d0,
|
||||||
"d1",d1)) != kOkRC )
|
"d1",d1)) != kOkRC )
|
||||||
|
Loading…
Reference in New Issue
Block a user