From 0bd3dc4479e469de8960c6d1b7c7f8775dcdb4c8 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 24 Jul 2009 11:41:16 +0000 Subject: From NetBSD rev 1.5 The report size is not a local item, so don't clear it when clearing local items. --- lib/libusbhid/parse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libusbhid/parse.c b/lib/libusbhid/parse.c index 53b59af3bb5..25798cbbe71 100644 --- a/lib/libusbhid/parse.c +++ b/lib/libusbhid/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.4 2009/07/24 08:37:47 jsg Exp $ */ +/* $OpenBSD: parse.c,v 1.5 2009/07/24 11:41:15 jsg Exp $ */ /* $NetBSD: parse.c,v 1.2 2001/12/29 20:44:22 augustss Exp $ */ /* @@ -84,7 +84,6 @@ hid_clear_local(hid_item_t *c) c->string_minimum = 0; c->string_maximum = 0; c->set_delimiter = 0; - c->report_size = 0; } hid_data_t -- cgit v1.2.3