various: remove unused variables

This commit is contained in:
moneromooo-monero 2018-12-07 15:46:52 +00:00
parent c83e80c263
commit ef93b0995c
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
7 changed files with 1 additions and 18 deletions

View file

@ -275,7 +275,6 @@ namespace hw {
int device_ledger::set_command_header(unsigned char ins, unsigned char p1, unsigned char p2) {
reset_buffer();
int offset = 0;
this->buffer_send[0] = PROTOCOL_VERSION;
this->buffer_send[1] = ins;
this->buffer_send[2] = p1;
@ -695,7 +694,7 @@ namespace hw {
bool device_ledger::verify_keys(const crypto::secret_key &secret_key, const crypto::public_key &public_key) {
AUTO_LOCK_CMD();
int offset, sw;
int offset;
offset = set_command_header_noopt(INS_VERIFY_KEY);
//sec
@ -1567,7 +1566,6 @@ namespace hw {
bool device_ledger::mlsag_prepare(const rct::key &H, const rct::key &xx,
rct::key &a, rct::key &aG, rct::key &aHP, rct::key &II) {
AUTO_LOCK_CMD();
unsigned char options;
#ifdef DEBUG_HWDEVICE
const rct::key H_x = H;
@ -1611,7 +1609,6 @@ namespace hw {
bool device_ledger::mlsag_prepare(rct::key &a, rct::key &aG) {
AUTO_LOCK_CMD();
unsigned char options;
#ifdef DEBUG_HWDEVICE
rct::key a_x;
@ -1634,7 +1631,6 @@ namespace hw {
bool device_ledger::mlsag_hash(const rct::keyV &long_message, rct::key &c) {
AUTO_LOCK_CMD();
unsigned char options;
size_t cnt;
#ifdef DEBUG_HWDEVICE