intelmetool: Enable warning *set-but-unused-variable*
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 <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/19613 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
parent
90d41779d1
commit
10984d1034
|
@ -17,7 +17,7 @@ PROGRAM = intelmetool
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
INSTALL ?= /usr/bin/install
|
INSTALL ?= /usr/bin/install
|
||||||
PREFIX ?= /usr/local
|
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
|
LDFLAGS += -lpci -lz
|
||||||
|
|
||||||
OBJS = intelmetool.o me.o me_status.o mmap.o
|
OBJS = intelmetool.o me.o me_status.o mmap.o
|
||||||
|
|
Loading…
Reference in New Issue