Skip to content

Commit

Permalink
* inet/rcmd.c (iruserfopen): Remove redundant initialization.
Browse files Browse the repository at this point in the history
	From Bernhard Fischer <rep.nop@aon.at>.

	* posix/regcomp.c (calc_eclosure_iter): Remove dead variables.
	Reported by Mike Frysinger <vapier@gentoo.org>.
  • Loading branch information
Roland McGrath committed Jan 31, 2006
1 parent 16f0ece commit ac45d7f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2006-01-31 Roland McGrath <roland@redhat.com>

* 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>.

2006-01-30 Steven Munroe <sjmunroe@us.ibm.com>

* sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct index
Expand Down
1 change: 0 additions & 1 deletion inet/rcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
4 changes: 1 addition & 3 deletions posix/regcomp.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Extended regular expression matching and search library.
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 2002,2003,2004,2005,2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
Expand Down Expand Up @@ -1644,8 +1644,6 @@ calc_eclosure_iter (re_node_set *new_set, re_dfa_t *dfa, int node, int root)
&& dfa->edests[node].nelem
&& !dfa->nodes[dfa->edests[node].elems[0]].duplicated)
{
int org_node, cur_node;
org_node = cur_node = node;
err = duplicate_node_closure (dfa, node, node, node, constraint);
if (BE (err != REG_NOERROR, 0))
return err;
Expand Down

0 comments on commit ac45d7f

Please sign in to comment.