Skip to content

Commit

Permalink
refactor: add missing break; on switch
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelugolini committed Nov 17, 2023
1 parent e5bc3c3 commit 14234a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/handle_query_contract_ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ static screens_t get_screen(const ethQueryContractUI_t *msg, const origin_parame
} else {
return RECEIVE_SCREEN;
}
break;
case 3:
if (both_tokens_found) {
return ERROR;
Expand All @@ -308,6 +309,7 @@ static screens_t get_screen(const ethQueryContractUI_t *msg, const origin_parame
} else if (both_tokens_not_found) {
return BENEFICIARY_SCREEN;
}
break;
default:
return ERROR;
break;
Expand Down

0 comments on commit 14234a5

Please sign in to comment.