HIDWriter: 0-initialize struct

Fixes CID 610984.

Signed-off-by: Augustin Cavalier <[email protected]>
This commit is contained in:
Timothy Gu
2015-06-23 11:59:36 -04:00
committed by Augustin Cavalier
parent 2201ddd6d0
commit d91933c26f
@@ -42,7 +42,7 @@ HIDWriter::DefineInputPadding(uint8 count, uint8 bitLength)
SetReportSize(bitLength);
SetReportCount(count);
main_item_data data;
main_item_data data = { 0 };
data.data_constant = 1;
return Input(data);
}