1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

firmware: fix unused argument in collect_hw_entropy

This commit is contained in:
Pavol Rusnak 2019-02-18 18:24:40 +01:00
parent 540be49897
commit 827df268a6
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -93,6 +93,7 @@ void check_lock_screen(void)
static void collect_hw_entropy(bool privileged) static void collect_hw_entropy(bool privileged)
{ {
#if EMULATOR #if EMULATOR
(void)privileged;
memzero(HW_ENTROPY_DATA, HW_ENTROPY_LEN); memzero(HW_ENTROPY_DATA, HW_ENTROPY_LEN);
#else #else
if (privileged) { if (privileged) {