From 4d3253b6daaf3b2b6f52601ae71ccbcd336873ca Mon Sep 17 00:00:00 2001 From: Charles-Edouard de la Vergne Date: Mon, 15 Apr 2024 11:42:46 +0200 Subject: [PATCH] Add noreturn attribute --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 24620b565b..6553cc0852 100644 --- a/src/main.c +++ b/src/main.c @@ -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