summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-09-23 20:55:02 +0000
committerJim Meyering <jim@meyering.net>1995-09-23 20:55:02 +0000
commit17821cc15edbe1dcd7473fb372f4d8245b988b03 (patch)
tree27272a3410c725826d4c431e2d8e364b49516aa3
parent0bcd6e68a99d21a1fe64541206190715f6c37513 (diff)
downloadcoreutils-17821cc15edbe1dcd7473fb372f4d8245b988b03.tar.gz
[REL_ALLOC]: #ifdef-out dcls of unused variables.TEXTUTILS-1_12_2
-rw-r--r--lib/regex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/regex.c b/lib/regex.c
index 89a77f8d9..ca485a896 100644
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -2900,7 +2900,9 @@ re_compile_fastmap (bufp)
/* This holds the pointer to the failure stack, when
it is allocated relocatably. */
+#ifdef REL_ALLOC
fail_stack_elt_t *failure_stack_ptr;
+#endif
/* Assume that each path through the pattern can be null until
proven otherwise. We set this false at the bottom of switch
@@ -3562,7 +3564,9 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop)
/* This holds the pointer to the failure stack, when
it is allocated relocatably. */
+#ifdef REL_ALLOC
fail_stack_elt_t *failure_stack_ptr;
+#endif
/* We fill all the registers internally, independent of what we
return, for use in backreferences. The number here includes