From 10984d1034a5525d590b9501f4d34b44bccc52be Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sun, 7 May 2017 09:05:55 +0200 Subject: intelmetool: Enable warning *set-but-unused-variable* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are no GCC warnings anymore about set but unused variables, and Clang warns about this switch, as it doesn’t know it. So remove the switch to use the default set by the switch `Wall`. Change-Id: Ie9eb26d4f8b298af231b952b547b71d68c649eaf Signed-off-by: Paul Menzel Reviewed-on: https://review.coreboot.org/19613 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Philipp Deppenwiese --- util/intelmetool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/intelmetool') diff --git a/util/intelmetool/Makefile b/util/intelmetool/Makefile index affcf30d90..8857d954cd 100644 --- a/util/intelmetool/Makefile +++ b/util/intelmetool/Makefile @@ -17,7 +17,7 @@ PROGRAM = intelmetool CC ?= gcc INSTALL ?= /usr/bin/install PREFIX ?= /usr/local -CFLAGS ?= -O0 -g -Wall -W -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-function +CFLAGS ?= -O0 -g -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function LDFLAGS += -lpci -lz OBJS = intelmetool.o me.o me_status.o mmap.o -- cgit v1.2.3