Enable -Werror for romcc

... and remove some dead code.

Change-Id: Id959bdf57af09db2a1f5742555c2dcabca38ac9a
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/818
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Stefan Reinauer 2012-03-30 12:11:04 -07:00 committed by Patrick Georgi
parent d086d51b5e
commit cbb648c001
2 changed files with 1 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Move the configuration defines to makefile.conf
CC=gcc
CPPFLAGS=
CFLAGS= -g -Wall $(CPPFLAGS)
CFLAGS= -g -Wall -Werror $(CPPFLAGS)
CPROF_FLAGS=-pg -fprofile-arcs
all: romcc test

View File

@ -9160,10 +9160,6 @@ static struct triple *decompose_index(struct compile_state *state,
static void decompose_compound_types(struct compile_state *state)
{
struct triple *ins, *next, *first;
#if DEBUG_DECOMPOSE_HIRES
FILE *fp;
fp = state->dbgout;
#endif
first = state->first;
ins = first;