fs/littlefs/lfs.c: Eliminate a warning about a local variable redefinition.

This commit is contained in:
Ouss4 2019-12-08 08:06:49 -06:00 committed by Gregory Nutt
parent 3e85a7e53d
commit c9b4da61b0

View File

@ -858,7 +858,7 @@ relocate:
LFS_DEBUG("Relocating %" PRIu32 " %" PRIu32 " to %" PRIu32 " %" PRIu32,
oldpair[0], oldpair[1], dir->pair[0], dir->pair[1]);
int err = lfs_relocate(lfs, oldpair, dir->pair);
err = lfs_relocate(lfs, oldpair, dir->pair);
if (err)
{
return err;