diff --git a/Makefile b/Makefile index a4216a5..6014e31 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,7 @@ ifeq ($(CC), clang) -Wno-missing-noreturn \ -Wno-ignored-qualifiers \ -Wno-unused-macros \ - -Wno-format-nonliteral \ - -Wno-shadow + -Wno-format-nonliteral endif OBJ = lex.o \ diff --git a/typedef.c b/typedef.c index 063a501..731ab7f 100644 --- a/typedef.c +++ b/typedef.c @@ -71,7 +71,7 @@ int typedef_add(lex_file *file, const char *from, const char *to) { return -100; } else { /* search the typedefs for it (typedef-a-typedef?) */ - typedef_node *find = typedef_table[typedef_hash(from)]; + find = typedef_table[typedef_hash(from)]; if (find) { typedef_table[hash] = mem_a(sizeof(typedef_node)); if (typedef_table[hash])