aboutsummaryrefslogtreecommitdiff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-31 19:18:14 +0000
committerRoland McGrath <roland@gnu.org>2006-01-31 19:18:14 +0000
commitac45d7f42b1b703533b035f2a715a77b994642cd (patch)
treebdf199c8dfa84b6e95e996d51e7de67d1658d427 /inet/rcmd.c
parent16f0ecedb5726fa46fac6a73b633aabcf469962d (diff)
downloadglibc-ac45d7f42b1b703533b035f2a715a77b994642cd.tar
glibc-ac45d7f42b1b703533b035f2a715a77b994642cd.tar.gz
glibc-ac45d7f42b1b703533b035f2a715a77b994642cd.tar.bz2
glibc-ac45d7f42b1b703533b035f2a715a77b994642cd.zip
* inet/rcmd.c (iruserfopen): Remove redundant initialization.
From Bernhard Fischer <rep.nop@aon.at>. * posix/regcomp.c (calc_eclosure_iter): Remove dead variables. Reported by Mike Frysinger <vapier@gentoo.org>.
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index da6c070764..341304acd5 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -477,7 +477,6 @@ iruserfopen (const char *file, uid_t okuser)
/* If not a regular file, if owned by someone other than user or
root, if writeable by anyone but the owner, or if hardlinked
anywhere, quit. */
- cp = NULL;
if (__lxstat64 (_STAT_VER, file, &st))
cp = _("lstat failed");
else if (!S_ISREG (st.st_mode))