diff --git a/sys/dev/usb/hid.c b/sys/dev/usb/hid.c index ba78ec2d7c5b..acd86bfba558 100644 --- a/sys/dev/usb/hid.c +++ b/sys/dev/usb/hid.c @@ -371,14 +371,22 @@ hid_report_size(void *buf, int len, enum hid_kind k, u_int8_t *idp) { struct hid_data *d; struct hid_item h; - int size, id; + int hi, lo, size, id; id = 0; + hi = lo = -1; for (d = hid_start_parse(buf, len, 1<