From 90bb3c684e0c585f700f6a79a569aa0d9ffb55de Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 30 Aug 2023 23:58:01 +0000 Subject: [PATCH] OK, no -fanalyzer on raspi, yet. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4434 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- Makefile | 2 ++ src/main.c | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 91e1fd24..2420c535 100644 --- a/Makefile +++ b/Makefile @@ -121,8 +121,10 @@ $(APP_OBJS): CFLAGS += \ -Ideps/xopt \ -Wdouble-promotion \ -Werror +ifeq ($(UNAME_M),x86_64) $(filter-out $(BUILD_DIR)/android%,$(APP_OBJS)): CFLAGS += \ -fanalyzer +endif BLOWFISH_SOURCES := \ deps/crypt_blowfish/crypt_blowfish.c \ diff --git a/src/main.c b/src/main.c index b1dece98..bc70f00e 100644 --- a/src/main.c +++ b/src/main.c @@ -200,10 +200,6 @@ static int _tf_command_import(const char* file, int argc, char* argv[]) if (err) { fprintf(stderr, "Error: %s\n", err); - if (extras) - { - free((void*)extras); - } return 2; }