Browse Source

no point in declaring save_err locally

Mike Frysinger 18 years ago
parent
commit
7a653dd33e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/misc/ftw/ftw.c

+ 1 - 1
libc/misc/ftw/ftw.c

@@ -757,7 +757,7 @@ 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;
+      save_err = errno;
       __chdir (cwd);
       free (cwd);
       __set_errno (save_err);