diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-07-24 11:41:16 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-07-24 11:41:16 +0000 |
commit | 0bd3dc4479e469de8960c6d1b7c7f8775dcdb4c8 (patch) | |
tree | 00468eff9d3b78bd79481d235b0f77862bb3b549 /lib/libusbhid | |
parent | 52aec2a9c1e7fc0f588c626b209af3a3221f56f5 (diff) |
From NetBSD rev 1.5
The report size is not a local item, so don't clear it when clearing local items.
Diffstat (limited to 'lib/libusbhid')
-rw-r--r-- | lib/libusbhid/parse.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 |