Skip to content

Commit

Permalink
fix: unused attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
janmazak committed Aug 31, 2023
1 parent d08ed27 commit d6b0821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/securityPolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ security_policy_t policyForSignTxInput(sign_tx_signingmode_t txSigningMode)

static bool is_addressBytes_suitable_for_tx_output(
const uint8_t* addressBuffer, size_t addressSize,
const uint8_t networkId, const uint32_t protocolMagic
const uint8_t networkId, const uint32_t protocolMagic __attribute__((unused))
)
{
ASSERT(addressSize < BUFFER_SIZE_PARANOIA);
Expand Down Expand Up @@ -1521,7 +1521,7 @@ security_policy_t policyForSignTxWitness(
sign_tx_signingmode_t txSigningMode,
const bip44_path_t* witnessPath,
bool mintPresent,
const bip44_path_t* poolOwnerPath
const bip44_path_t* poolOwnerPath __attribute__((unused))
)
{
switch (txSigningMode) {
Expand Down

0 comments on commit d6b0821

Please sign in to comment.