From c3809432c44ac13a1e5f4b97974b7f3b13afa0c1 Mon Sep 17 00:00:00 2001 From: Marije Baalman Date: Sun, 6 Oct 2013 13:03:43 +0200 Subject: [PATCH] initialize report id --- hidapi_parser/hidapi_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hidapi_parser/hidapi_parser.c b/hidapi_parser/hidapi_parser.c index d18d0e72..4423c703 100644 --- a/hidapi_parser/hidapi_parser.c +++ b/hidapi_parser/hidapi_parser.c @@ -229,7 +229,7 @@ int hid_parse_report_descriptor( char* descr_buf, int size, struct hid_device_co int current_physical_min = 0; int current_physical_max = 0; int current_report_count; - int current_report_id; + int current_report_id = 0; int current_report_size; int current_unit = 0; int current_unit_exponent = 0;