diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2018-01-29 22:53:28 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2018-02-04 22:15:09 +0300 |
commit | 029361ea16a9d55736b184292c86ef88da4e8205 (patch) | |
tree | 4d18819cefe3e38448c51fee113af8d53dc91bd1 /emubd | |
parent | 3101bc92b3dcd1b06fc246c85f8f6f5d529468ac (diff) |
Silence shadow warnings
Diffstat (limited to 'emubd')
-rw-r--r-- | emubd/lfs_emubd.c | 2 |
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; } |