Skip to content

Commit 1428e4f

Browse files
committed
Fixed cppcheck report
1 parent 9f78389 commit 1428e4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hal/stm32l5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static int uds_from_uid(uint8_t *out, size_t out_len)
130130
uint8_t digest[SHA3_384_DIGEST_SIZE];
131131
wc_Sha3 hash;
132132
#endif
133-
size_t copy_len;
133+
size_t copy_len = 0;
134134

135135
if (out == NULL || out_len == 0) {
136136
return -1;

0 commit comments

Comments
 (0)