From 9769bb767cd054d6ffd53dc2f355d5f303eac2cf Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 14 Aug 2025 12:03:57 -0700 Subject: [PATCH] configure: add -Wself-assign Bug: 432511225 Change-Id: I4e074909221ac4c0a26613d4441ea00c430bcb94 --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index a9a82a04..292a062a 100644 --- a/configure.ac +++ b/configure.ac @@ -114,6 +114,7 @@ TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wmissing-declarations]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wmissing-prototypes]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wold-style-definition]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wparentheses-equality]) +TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wself-assign]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wshadow]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wshorten-64-to-32]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wstrict-prototypes])