From 4f1c3a1472e3ffc550a3c51d1346b2b202e7c5ad Mon Sep 17 00:00:00 2001 From: xiaoniaoyou6hua <74241971+xiaoniaoyou6hua@users.noreply.github.com> Date: Sat, 22 Apr 2023 09:25:52 +0800 Subject: [PATCH] fix warning (#7340) --- components/mm/mm_fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mm/mm_fault.c b/components/mm/mm_fault.c index 29b540f0f4..e904e2b5a4 100644 --- a/components/mm/mm_fault.c +++ b/components/mm/mm_fault.c @@ -28,7 +28,7 @@ static int _fetch_page(rt_varea_t varea, struct rt_aspace_fault_msg *msg) { - int err; + int err = UNRECOVERABLE; msg->response.status = MM_FAULT_STATUS_UNRECOVERABLE; msg->response.vaddr = 0; msg->response.size = 0;