Skip to content

Commit

Permalink
Add noreturn attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
cedelavergne-ledger committed Apr 15, 2024
1 parent da31e63 commit 4d3253b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ void coin_main(libargs_t *args) {
app_exit();
}

void library_main(libargs_t *args) {
__attribute__((noreturn)) void library_main(libargs_t *args) {
chain_config_t coin_config;
if (args->chain_config == NULL) {
// We have been started directly by Exchange, not by a Clone. Init default chain
Expand Down

0 comments on commit 4d3253b

Please sign in to comment.