cwCsv.cpp : Fix uninitialized variable in test().

This commit is contained in:
kevin 2023-05-25 15:59:02 -04:00
parent ccc222c063
commit cac3b1752d

View File

@ -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 )
{
const char* opcode = nullptr;
unsigned d0,d1;
unsigned d0=0xff,d1=0xff;
if((rc = getv(csvH,"opcode",opcode,
"d0",d0,
"d1",d1)) != kOkRC )