Silence shadow warnings

This commit is contained in:
Bernhard Reutner-Fischer
2018-01-29 20:53:28 +01:00
committed by Christopher Haster
parent 3101bc92b3
commit 029361ea16
2 changed files with 24 additions and 24 deletions

View File

@@ -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;
}