Skip to content

Commit

Permalink
clean: fix clang analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
sgliner-ledger committed Oct 26, 2023
1 parent 7e2908c commit 6ecc089
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ DEFINES += LEDGER_MAJOR_VERSION=$(APPVERSION_M) LEDGER_MINOR_VERSION=$(APPVERS
#DEFINES += HAVE_WEBUSB WEBUSB_URL_SIZE_B=$(shell echo -n $(WEBUSB_URL) | wc -c) WEBUSB_URL=$(shell echo -n $(WEBUSB_URL) | sed -e "s/./\\\'\0\\\',/g")
DEFINES += HAVE_WEBUSB WEBUSB_URL_SIZE_B=0 WEBUSB_URL=""

DEFINES += UNUSED\(x\)=\(void\)x
DEFINES += APPVERSION=\"$(APPVERSION)\"

DEFINES += BLAKE_SDK
Expand Down
2 changes: 0 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,6 @@ struct libargs_s {
};

static void library_main_helper(struct libargs_s *args) {
check_api_level(CX_COMPAT_APILEVEL);
PRINTF("Inside a library \n");
switch (args->command) {
case CHECK_ADDRESS:
Expand Down Expand Up @@ -665,7 +664,6 @@ __attribute__((section(".boot"))) int main(int arg0) {
btchip_altcoin_config_t coin_config;
init_coin_config(&coin_config);
PRINTF("Hello from litecoin\n");
check_api_level(CX_COMPAT_APILEVEL);
// delegate to bitcoin app/lib
libcall_params[0] = "Bitcoin Legacy";
libcall_params[1] = 0x100;
Expand Down

0 comments on commit 6ecc089

Please sign in to comment.