From 82af97b2849a5c79ba1679ccd6c2248f842d9a5e Mon Sep 17 00:00:00 2001 From: Dirk Petrautzki Date: Mon, 10 Aug 2026 15:04:29 +0200 Subject: [PATCH] reclaim: fix uninitialized status when LX_DIRECT_READ is used --- common/src/lx_nor_flash_block_reclaim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/lx_nor_flash_block_reclaim.c b/common/src/lx_nor_flash_block_reclaim.c index e2951f1..a47d13b 100644 --- a/common/src/lx_nor_flash_block_reclaim.c +++ b/common/src/lx_nor_flash_block_reclaim.c @@ -453,7 +453,7 @@ UINT status; _lx_nor_flash_system_error(nor_flash, LX_SYSTEM_ALLOCATION_FAILED); /* Return the error. */ - return(status); + return(LX_SYSTEM_ALLOCATION_FAILED); } /* Decrement the number of mapped sectors. */