From nobody Tue Jun 27 17:19:44 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QrBKX6QlGz4f4XY; Tue, 27 Jun 2023 17:19:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QrBKX57hDz3NYW; Tue, 27 Jun 2023 17:19:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687886384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Cagej4ne6ER1eRBQ/cWo/jG5MRLTZoAL7UJvfx99k2M=; b=qG2bJK7lTJsThDLJGIoL30hGZRW+YducYloKULYCfiN/52F4jier2fsCgXLNnuXTxGLBoQ p1TFTEwnvFh8MY0kHHywD0ewu925pbD4PSYWYiAJFIrzonznuXrImSHLdo8PQx2keKKT0W sknptNfXj2RbqKO/1qa8UcCxz+4FKEspFugmwlPo3+Ot07vZKqgkDh1mlGVLfCBdoUGuEn 8vnvfE+5nB6UFYj/sf4kSRamNIs54lEyq2qdctmsvqecdaMRh0NFdPrj2QyxppNsrVzEOg 8iUteYy52jm8dsGAsSPDE2NDx0pU/J/3jtiQIq6XDGZcJ6s2kVi7aGXwZ5QiSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687886384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Cagej4ne6ER1eRBQ/cWo/jG5MRLTZoAL7UJvfx99k2M=; b=lpzuxJazat9vF8Q7W6qLn2lFopcVBkuSagRmXhDrjHkSB/5j0CJtH4PdTHSTOmIc0PLbLm hDQ3VnbkHRjrcSGxJXhCJmuZ4Fn6SubSUMYE5uyZFdzICs/HSQTBj6ZOK0s6Ri1nh956Je +eoq+BT9+k73kV8oZZ79eCxTMuu3WAyN4xJogOunVnm63X0i1ygBc8x+W/pe/rGpc5+Z/y 4scNgOo2ziuQKYZd7G8omqBxL0wNmmD50OtzNQtMtT5Zx6bekIDanm6ioyjTEyoJPH3bFO 15K2pxfTpIs1z1WM+SLDKo3gywBc+fvq/u+vIy3Kzwtu4/FdvCnKEFp3k805Aw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687886384; a=rsa-sha256; cv=none; b=PC1pdnVx9vSlXr+QOXysaaW234xelS7FNnt0A/vJ1oskKYgDwTjKMYk3SvQtdABIct4gAl CwSjAsO9h06W/SO1ISShMTGgNMD+8Pm6gxoJd1KFODDlithsccajHcycQ71jXjt6w8y7zv Q4RXZIsJARqeibvAFRrahXJ1egu2iyguoDgMxvCqC94kv06/Lafc5SEZsX9lwLLZdgGhID qYHrpGyeaQCGeq+ynKJlGdx0sHXMSAKMrJsTVxMJdAnOXhYx+QRiCP0/zpCi3xcmiUVHmK QQKKLM0IF4lP/o/VeJtEUCfFXb4CY2FYwN8+ra+5x/aVKvGbeAziVQ3Nc6WkoA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QrBKX44x0z11JJ; Tue, 27 Jun 2023 17:19:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35RHJiap006905; Tue, 27 Jun 2023 17:19:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35RHJiFH006904; Tue, 27 Jun 2023 17:19:44 GMT (envelope-from git) Date: Tue, 27 Jun 2023 17:19:44 GMT Message-Id: <202306271719.35RHJiFH006904@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 235c8f6631cb - main - ncurses: Silence -Wunused-but-set-variable for various files. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 235c8f6631cb58a50e5b36e786d6354ae4e43cea Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=235c8f6631cb58a50e5b36e786d6354ae4e43cea commit 235c8f6631cb58a50e5b36e786d6354ae4e43cea Author: John Baldwin AuthorDate: 2023-06-27 17:19:32 +0000 Commit: John Baldwin CommitDate: 2023-06-27 17:19:32 +0000 ncurses: Silence -Wunused-but-set-variable for various files. Presumably these will be fixed upstream eventually. Differential Revision: https://reviews.freebsd.org/D40664 --- lib/ncurses/form/Makefile | 2 ++ lib/ncurses/ncurses/Makefile | 2 ++ lib/ncurses/tinfo/Makefile | 3 +++ 3 files changed, 7 insertions(+) diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile index 8a26672544c5..341205aca2d9 100644 --- a/lib/ncurses/form/Makefile +++ b/lib/ncurses/form/Makefile @@ -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 diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 45c8fcd11301..1c1b995a9ff6 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -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 diff --git a/lib/ncurses/tinfo/Makefile b/lib/ncurses/tinfo/Makefile index 2d251072acb8..40cd36bc17a4 100644 --- a/lib/ncurses/tinfo/Makefile +++ b/lib/ncurses/tinfo/Makefile @@ -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