Skip to content

Commit

Permalink
FIX CI issue: don't check return value of cx_ripemd160_init
Browse files Browse the repository at this point in the history
  • Loading branch information
dmorais-ledger committed Oct 26, 2023
1 parent 1b0080b commit 7d96c8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib_cxng/include/lcx_ripemd160.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ WARN_UNUSED_RESULT cx_err_t cx_ripemd160_init_no_throw(cx_ripemd160_t *hash);
*/
static inline int cx_ripemd160_init(cx_ripemd160_t *hash)
{
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-result"
cx_ripemd160_init_no_throw(hash);
#pragma GCC diagnostic pop
return CX_RIPEMD160;
}

Expand Down

0 comments on commit 7d96c8b

Please sign in to comment.