xen: Use __diagused for a variable only used in KASSERT().

This commit is contained in:
John Baldwin 2022-04-13 16:08:20 -07:00
parent b8ebd99aa5
commit 38731172ee

View File

@ -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;