From 347aa8d8cf6ed364cb211482ff3f9e3822a064ea Mon Sep 17 00:00:00 2001 From: Sandesh Venkatesh Date: Tue, 23 Jul 2024 17:08:29 +0530 Subject: [PATCH] Warning flags as suggested in 3GPP issue 781 added in MAkefile. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0467146ba..28ed2ea91 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,8 @@ CFLAGS += -std=c99 -pedantic -Wcast-qual -Wall -W -Wextra -Wno-long-long \ -Wno-implicit-fallthrough -ffp-contract=off # to be uncommented in CI # CFLAGS += -Werror +CFLAGS += -Winit-self +CFLAGS += -Wunused-but-set-variable # libs to link LDLIBS += -lm -- GitLab