HIDWriter: 0-initialize struct
Fixes CID 610984. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
This commit is contained in:
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user