mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-30 03:18:20 +00:00
u2f: fix gcc/clang warning
This commit is contained in:
parent
666b9701d2
commit
cd112497a5
@ -287,7 +287,9 @@ void u2fhid_init(const U2FHID_FRAME *in)
|
|||||||
{
|
{
|
||||||
const U2FHID_INIT_REQ *init_req = (const U2FHID_INIT_REQ *)&in->init.data;
|
const U2FHID_INIT_REQ *init_req = (const U2FHID_INIT_REQ *)&in->init.data;
|
||||||
U2FHID_FRAME f;
|
U2FHID_FRAME f;
|
||||||
U2FHID_INIT_RESP resp = {0};
|
U2FHID_INIT_RESP resp;
|
||||||
|
|
||||||
|
memset(&resp, 0, sizeof(resp));
|
||||||
|
|
||||||
debugLog(0, "", "u2fhid_init");
|
debugLog(0, "", "u2fhid_init");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user