1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00

u2f: fix gcc/clang warning

This commit is contained in:
Pavol Rusnak 2018-12-18 14:49:31 +01:00
parent 666b9701d2
commit cd112497a5
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -287,7 +287,9 @@ void u2fhid_init(const U2FHID_FRAME *in)
{
const U2FHID_INIT_REQ *init_req = (const U2FHID_INIT_REQ *)&in->init.data;
U2FHID_FRAME f;
U2FHID_INIT_RESP resp = {0};
U2FHID_INIT_RESP resp;
memset(&resp, 0, sizeof(resp));
debugLog(0, "", "u2fhid_init");