usb(4): Fix build after 45b48cbc2b.

Make sure local variable is initialized when COMPAT_32BIT is not defined.

MFC after:	1 week
Sponsored by:	NVIDIA Networking
This commit is contained in:
Hans Petter Selasky 2021-12-18 21:26:57 +01:00
parent 1c04cf7d54
commit 34077a8ed3

View File

@ -579,8 +579,9 @@ hidraw_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
if (sc == NULL)
return (EIO);
#ifdef COMPAT_FREEBSD32
hgd = (struct hidraw_gen_descriptor *)addr;
#ifdef COMPAT_FREEBSD32
switch (cmd) {
case HIDRAW_GET_REPORT_DESC32:
case HIDRAW_GET_REPORT32: