fix: maybe-uninitialized resovled

Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
This commit is contained in:
Han Gao
2023-07-24 05:57:11 +08:00
committed by Han Gao
parent 0c27ac7f5d
commit 574b950215

View File

@@ -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 */