Silence shadow warnings
This commit is contained in:
committed by
Christopher Haster
parent
3101bc92b3
commit
029361ea16
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user