Skip to content

Commit 6799f2a

Browse files
committed
suppress clang warning
1 parent adda696 commit 6799f2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ $(OBJDIR)/divminus.o: CFLAGS_EXTRA=-Wno-unused-but-set-variable
171171
$(OBJDIR)/typedef.o: CFLAGS_EXTRA=-Wno-unused-but-set-variable
172172
$(OBJDIR)/use-after-free.o: CFLAGS_EXTRA=-Wno-use-after-free
173173
$(OBJDIR)/func-implicit.o: CFLAGS_EXTRA=-Wno-strict-prototypes
174+
ifeq ($(CC), clang)
175+
$(OBJDIR)/shadow-block.o: CFLAGS_EXTRA=-Wno-unused-but-set-variable
176+
endif
174177

175178
all: $(DIROBJS)
176179

0 commit comments

Comments
 (0)