diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-03-30 12:11:04 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-03-31 12:07:10 +0200 |
commit | cbb648c001167f7762e0f1aa2af906d3a8e34715 (patch) | |
tree | 8b0e24d3aea240a3025646b2354503ec3c285822 /util | |
parent | d086d51b5e550d65ad118db71d23c88429df3262 (diff) |
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>
Diffstat (limited to 'util')
-rw-r--r-- | util/romcc/Makefile | 2 | ||||
-rw-r--r-- | util/romcc/romcc.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/util/romcc/Makefile b/util/romcc/Makefile index 6543fbb3b7..8242eb5668 100644 --- a/util/romcc/Makefile +++ b/util/romcc/Makefile @@ -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 diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c index c7ef223667..1a939fb807 100644 --- a/util/romcc/romcc.c +++ b/util/romcc/romcc.c @@ -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; |