GCC: fix some unused warnings

hash_extra: don't test for success in `jh_hash` and `skein_hash` since its guaranteed
device_ledger: move anonymous global variable apdu_verbose into .cpp file
Add comments to `refreshed` method variable in wallet2
This commit is contained in:
Jeffrey Ryan 2022-05-28 13:09:07 -05:00
parent 9750e1fa10
commit 4d7f6f5cd5
5 changed files with 16 additions and 8 deletions

View file

@ -43,6 +43,10 @@ namespace hw {
#ifdef WITH_DEVICE_LEDGER
namespace {
bool apdu_verbose =true;
}
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "device.ledger"

View file

@ -87,10 +87,6 @@ namespace hw {
#define SW_PROTOCOL_NOT_SUPPORTED 0x6e00
#define SW_UNKNOWN 0x6f00
namespace {
bool apdu_verbose =true;
}
void set_apdu_verbose(bool verbose);
class ABPkeys {