mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 08:34:20 -04:00
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:
parent
9750e1fa10
commit
4d7f6f5cd5
5 changed files with 16 additions and 8 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue