From 2285f7f37a452a7164ecc28483962be5447c2a60 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 30 Sep 2002 00:54:22 +0000 Subject: [PATCH] (sift_states_bkref): Remove ret variable. Use err instead. --- posix/regexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posix/regexec.c b/posix/regexec.c index 88b20dd..e2597dc 100644 --- a/posix/regexec.c +++ b/posix/regexec.c @@ -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; @@ -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); -- 2.7.4