Date: Wed, 13 Apr 2022 23:09:16 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: 38731172ee2a - main - xen: Use __diagused for a variable only used in KASSERT(). Message-ID: <202204132309.23DN9GX7074160@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=38731172ee2a487673ffeb294741fdde08a722d3 commit 38731172ee2a487673ffeb294741fdde08a722d3 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-13 23:08:20 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-13 23:08:20 +0000 xen: Use __diagused for a variable only used in KASSERT(). --- sys/xen/xenbus/xenbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/xen/xenbus/xenbus.c b/sys/xen/xenbus/xenbus.c index 415279ec2311..9570abac6a58 100644 --- a/sys/xen/xenbus/xenbus.c +++ b/sys/xen/xenbus/xenbus.c @@ -105,7 +105,7 @@ xenbus_strstate(XenbusState state) void xenbus_dev_verror(device_t dev, int err, const char *fmt, va_list ap) { - int ret; + int ret __diagused; unsigned int len; char *printf_buffer = NULL, *path_buffer = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204132309.23DN9GX7074160>