Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/emubd
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2018-01-29 22:53:28 +0300
committerChristopher Haster <chaster@utexas.edu>2018-02-04 22:15:09 +0300
commit029361ea16a9d55736b184292c86ef88da4e8205 (patch)
tree4d18819cefe3e38448c51fee113af8d53dc91bd1 /emubd
parent3101bc92b3dcd1b06fc246c85f8f6f5d529468ac (diff)
Silence shadow warnings
Diffstat (limited to 'emubd')
-rw-r--r--emubd/lfs_emubd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emubd/lfs_emubd.c b/emubd/lfs_emubd.c
index fb518a8..b159596 100644
--- a/emubd/lfs_emubd.c
+++ b/emubd/lfs_emubd.c
@@ -190,7 +190,7 @@ int lfs_emubd_erase(const struct lfs_config *cfg, lfs_block_t block) {
}
if (!err && S_ISREG(st.st_mode) && (S_IWUSR & st.st_mode)) {
- int err = unlink(emu->path);
+ err = unlink(emu->path);
if (err) {
return -errno;
}