summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-06-01 08:49:13 -0700
committerJunio C Hamano <gitster@pobox.com>2022-06-01 08:49:13 -0700
commit419141e4958360966449f289d95a9787a919245f (patch)
tree59672a2a3984dba9f33e3924cf36ec7d110109e9
parent9c539d1027df2a0f6e45b24d518e90d3baf1e7a5 (diff)
downloadgit-419141e4958360966449f289d95a9787a919245f.tar.gz
Revert -Wno-error=dangling-pointer
This reverts commit 9c539d1027 (config.mak.dev: alternative workaround to gcc 12 warning in http.c, 2022-04-15). Let's give GCC12's "dangling-pointer" warning a second chance, as we have a more focused workaround for this particular compiler glitch. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--config.mak.dev1
1 files changed, 0 insertions, 1 deletions
diff --git a/config.mak.dev b/config.mak.dev
index c3104f400b..335efd4620 100644
--- a/config.mak.dev
+++ b/config.mak.dev
@@ -68,7 +68,6 @@ endif
# https://bugzilla.redhat.com/show_bug.cgi?id=2075786
ifneq ($(filter gcc12,$(COMPILER_FEATURES)),)
DEVELOPER_CFLAGS += -Wno-error=stringop-overread
-DEVELOPER_CFLAGS += -Wno-error=dangling-pointer
endif
GIT_TEST_PERL_FATAL_WARNINGS = YesPlease