summaryrefslogtreecommitdiff
path: root/lib/libusbhid/parse.c
diff options
context:
space:
mode:
authoraugustss <augustss@NetBSD.org>2004-01-05 17:55:48 +0000
committeraugustss <augustss@NetBSD.org>2004-01-05 17:55:48 +0000
commita6cfb45c19dd9571ccf31cf333edd2825e632d8e (patch)
tree45b9dc360bd662e41f7cc912cf608791418cd9a9 /lib/libusbhid/parse.c
parentf3e0632950b8e5da568e6b917808ff53091876f8 (diff)
The report size is not a local item, so don't clear it when clearing local items.
Diffstat (limited to 'lib/libusbhid/parse.c')
-rw-r--r--lib/libusbhid/parse.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libusbhid/parse.c b/lib/libusbhid/parse.c
index 77e9154ad27..05929167529 100644
--- a/lib/libusbhid/parse.c
+++ b/lib/libusbhid/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.4 2003/07/26 19:25:09 salo Exp $ */
+/* $NetBSD: parse.c,v 1.5 2004/01/05 17:55:48 augustss Exp $ */
/*
* Copyright (c) 1999, 2001 Lennart Augustsson <augustss@NetBSD.org>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: parse.c,v 1.4 2003/07/26 19:25:09 salo Exp $");
+__RCSID("$NetBSD: parse.c,v 1.5 2004/01/05 17:55:48 augustss Exp $");
#include <assert.h>
#include <stdlib.h>
@@ -89,7 +89,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