eosnetworkfoundation / ledger-app

EOS app for ledger devices
Apache License 2.0
1 stars 0 forks source link

Remove unneeded bufferLength eos_stream #9

Closed ericpassmore closed 1 year ago

ericpassmore commented 2 years ago

src/eos_stream.c:89:14: warning: Value stored to 'bufferLength' during its initialization is never read [deadcode.DeadStores] uint32_t bufferLength = context->currentActionDataBufferLength; ^~~~ ~~~~~~~~~~ src/eos_stream.c:291:5: warning: Value stored to 'read' is never read [deadcode.DeadStores] read = unpack_variant32(buffer, bufferLength, &size); ^ ~~~~~~~~~

ericpassmore commented 2 years ago

Closer inspection revealed a bug which is now resolved and fixed on branch.