xen: Use __diagused for a variable only used in KASSERT().
This commit is contained in:
parent
b8ebd99aa5
commit
38731172ee
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user