aboutsummaryrefslogtreecommitdiff
path: root/posix/regcomp.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 /posix/regcomp.c
parent16f0ecedb5726fa46fac6a73b633aabcf469962d (diff)
downloadglibc-ac45d7f42b1b703533b035f2a715a77b994642cd.zip
glibc-ac45d7f42b1b703533b035f2a715a77b994642cd.tar.gz
glibc-ac45d7f42b1b703533b035f2a715a77b994642cd.tar.bz2
* 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 'posix/regcomp.c')
-rw-r--r--posix/regcomp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/posix/regcomp.c b/posix/regcomp.c
index d35ae5f..78a1218 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -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>.
@@ -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;