mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(ftw_startup): Rename local-shadowing local to pacify gcc.
This commit is contained in:
1 parent
cce1b15448
commit
376e889123
1 file changed
+2
-2
@@ -634,10 +634,10 @@ ftw_startup (const char *dir, int is_nftw, void *func, int descriptors,
|
||||
/* Return to the start directory (if necessary). */
|
||||
if (cwd != NULL)
|
||||
{
|
||||
int save_err = errno;
|
||||
int saved_errno = errno;
|
||||
__chdir (cwd);
|
||||
free (cwd);
|
||||
__set_errno (save_err);
|
||||
__set_errno (saved_errno);
|
||||
}
|
||||
|
||||
/* Free all memory. */
|
||||
|
||||
Reference in new issue
Block a user