ncurses: Silence -Wunused-but-set-variable for various files.

Presumably these will be fixed upstream eventually.

Differential Revision:	https://reviews.freebsd.org/D40664
This commit is contained in:
John Baldwin 2023-06-27 10:19:32 -07:00
parent 32c7dde816
commit 235c8f6631
3 changed files with 7 additions and 0 deletions

View file

@ -57,6 +57,8 @@ CLEANFILES= ncurses_def.h
CFLAGS+= -I${SRCDIR}
CFLAGS+= -I${NCURSES_DIR}/menu
CWARNFLAGS.fty_enum.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
LIBADD+= ncursesw
INCS= form.h

View file

@ -147,6 +147,8 @@ DBGSRCS= \
CLEANFILES= ${GENSRCS}
CWARNFLAGS.lib_set_term.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
.if ${MK_INSTALLLIB} != "no"
SYMLINKS+= libncursesw.a ${LIBDIR}/libcursesw.a
# backward compat

View file

@ -167,6 +167,9 @@ CLEANFILES= ${GENSRCS} ${GENHDRS} keys.list make_hash term.h.new \
CFLAGS+= -DTERMIOS
CWARNFLAGS.comp_parse.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
CWARNFLAGS.read_entry.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
# Installed
HEADERS= curses.h term.h termcap.h unctrl.h
SRCHDRS= ncurses_dll.h