mirror of
https://github.com/revyos/thead-opensbi.git
synced 2026-06-21 09:12:28 +02:00
fix: maybe-uninitialized resovled
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
This commit is contained in:
@@ -62,7 +62,7 @@ static int thead_reset_init(void *fdt, int nodeoff,
|
||||
void *p;
|
||||
const fdt64_t *val;
|
||||
const fdt32_t *val_w;
|
||||
int len, i, cnt;
|
||||
int len, i, cnt = 0;
|
||||
u32 t, tmp = 0;
|
||||
|
||||
/* Prepare clone csrs */
|
||||
|
||||
Reference in New Issue
Block a user