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;