summary refs log tree commit diff
path: root/posix/regexec.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-09-30 00:54:22 +0000
committerUlrich Drepper <drepper@redhat.com>2002-09-30 00:54:22 +0000
commit2285f7f37a452a7164ecc28483962be5447c2a60 (patch)
tree33453ef43f53acdfd2db7b604ca6d399413c31fc /posix/regexec.c
parent63d76dfaf884ce4b520e21bee92ec61b0365190b (diff)
downloadglibc-2285f7f37a452a7164ecc28483962be5447c2a60.tar.gz
glibc-2285f7f37a452a7164ecc28483962be5447c2a60.tar.xz
glibc-2285f7f37a452a7164ecc28483962be5447c2a60.zip
(sift_states_bkref): Remove ret variable. Use err instead.
Diffstat (limited to 'posix/regexec.c')
-rw-r--r--posix/regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/regexec.c b/posix/regexec.c
index 88b20dd31f..e2597dc47e 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);