Skip to content

Commit

Permalink
(sift_states_bkref): Remove ret variable. Use err instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Sep 30, 2002
1 parent 63d76df commit 2285f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posix/regexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,7 @@ sift_states_bkref (preg, mctx, sctx, str_idx, dest_nodes)
continue;
if (type == OP_BACK_REF)
{
int enabled_idx, ret;
int enabled_idx;
for (enabled_idx = 0; enabled_idx < mctx->nbkref_ents; ++enabled_idx)
{
int disabled_idx, subexp_len, to_idx;
Expand Down Expand Up @@ -1769,7 +1769,7 @@ sift_states_bkref (preg, mctx, sctx, str_idx, dest_nodes)
}
local_sctx.last_node = node;
local_sctx.last_str_idx = str_idx;
ret = re_node_set_insert (&local_sctx.limits, enabled_idx);
err = re_node_set_insert (&local_sctx.limits, enabled_idx);
if (BE (err < 0, 0))
return REG_ESPACE;
err = sift_states_backward (preg, mctx, &local_sctx);
Expand Down

0 comments on commit 2285f7f

Please sign in to comment.