Date: Wed, 13 Apr 2022 23:09:08 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 3fbf4ca60b93 - main - libnv: Mark a variable only used in a custom assertion as unused. Message-ID: <202204132309.23DN98fo073981@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3fbf4ca60b933ba3053805682fbcd6f376e9ab8e commit 3fbf4ca60b933ba3053805682fbcd6f376e9ab8e Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-13 23:08:19 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-13 23:08:19 +0000 libnv: Mark a variable only used in a custom assertion as unused. --- sys/contrib/libnv/bsd_nvpair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/contrib/libnv/bsd_nvpair.c b/sys/contrib/libnv/bsd_nvpair.c index 00eee223fe92..152a2fb70428 100644 --- a/sys/contrib/libnv/bsd_nvpair.c +++ b/sys/contrib/libnv/bsd_nvpair.c @@ -552,7 +552,7 @@ unsigned char * nvpair_pack_string_array(const nvpair_t *nvp, unsigned char *ptr, size_t *leftp) { unsigned int ii; - size_t size, len; + size_t size __unused, len; const char * const *array; NVPAIR_ASSERT(nvp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204132309.23DN98fo073981>