From 1de212b322bce594829ad1b7d4db79f02ce23424 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 14 Sep 2023 15:50:16 +0900 Subject: [PATCH] avoid a variable shadowing warning --- lfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs.c b/lfs.c index f6b96552..e957decd 100644 --- a/lfs.c +++ b/lfs.c @@ -1705,7 +1705,7 @@ static int lfs_dir_commitcrc(lfs_t *lfs, struct lfs_commit *commit) { // the caching layer if (noff >= end || noff >= lfs->pcache.off + lfs->cfg->cache_size) { // flush buffers - int err = lfs_bd_sync(lfs, &lfs->pcache, &lfs->rcache, false); + err = lfs_bd_sync(lfs, &lfs->pcache, &lfs->rcache, false); if (err) { return err; }