diff options
author | Jim Meyering <jim@meyering.net> | 2006-02-01 14:43:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-02-01 14:43:24 +0000 |
commit | 81b5d8af5f76abe3d2742733fba39e944fd73087 (patch) | |
tree | 05e4f5a89759fc8ca9c0d233b5c18123fc049828 | |
parent | f7617f0b4dd4ecbac657c399ec3ec3fab0ffced9 (diff) | |
download | coreutils-81b5d8af5f76abe3d2742733fba39e944fd73087.tar.xz |
(find_dir_entry): Remove unused local, `ent_sb_valid'.
-rw-r--r-- | src/pwd.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,5 +1,5 @@ /* pwd - print current directory - Copyright (C) 1994-1997, 1999-2005 Free Software Foundation, Inc. + Copyright (C) 1994-1997, 1999-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -186,7 +186,6 @@ find_dir_entry (struct stat *dot_sb, struct file_name *file_name, struct dirent const *dp; struct stat ent_sb; ino_t ino; - bool ent_sb_valid; errno = 0; if ((dp = readdir_ignoring_dot_and_dotdot (dirp)) == NULL) @@ -206,7 +205,6 @@ find_dir_entry (struct stat *dot_sb, struct file_name *file_name, ino = D_INO (dp); - ent_sb_valid = false; if (ino == NOT_AN_INODE_NUMBER || use_lstat) { if (lstat (dp->d_name, &ent_sb) < 0) @@ -215,7 +213,6 @@ find_dir_entry (struct stat *dot_sb, struct file_name *file_name, continue; } ino = ent_sb.st_ino; - ent_sb_valid = true; } if (ino != dot_sb->st_ino) |