]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Revert -Wno-error=dangling-pointer
authorJunio C Hamano <gitster@pobox.com>
Wed, 1 Jun 2022 15:49:13 +0000 (08:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jun 2022 15:49:13 +0000 (08:49 -0700)
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>
config.mak.dev

index c3104f400b2303fffb7ad21a33853654210ac306..335efd4620301a3927a0134df9019b7053ebf1d0 100644 (file)
@@ -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