Skip to content

Commit

Permalink
fix pointer width and remove unused global
Browse files Browse the repository at this point in the history
  • Loading branch information
neithanmo committed May 15, 2024
1 parent 562f0db commit aabe3c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions app/src/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
uint32_t hdPath[HDPATH_LEN_DEFAULT];
uint32_t hdPath_len;

static cx_blake2b_t *ctx_blake2b = NULL;

#define CHECK_PARSER_OK(CALL) \
do { \
cx_err_t __cx_err = CALL; \
Expand Down
2 changes: 1 addition & 1 deletion app/src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ parser_error_t parser_init_context(parser_context_t *ctx, const uint8_t *buffer,
parser_error_t parser_parse(parser_context_t *ctx, const uint8_t *data, size_t dataLen) {
ctx->tx_obj.state = NULL;
ctx->tx_obj.len = 0;
uint16_t size = 0;
uint32_t size = 0;

CHECK_ERROR(_parser_init(ctx, data, dataLen, &size));

Expand Down

0 comments on commit aabe3c5

Please sign in to comment.