mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
fixed shadow issue
This commit is contained in:
parent
84c110e8f5
commit
911c2bddb6
2 changed files with 2 additions and 3 deletions
3
Makefile
3
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 \
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue