summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/strscan/strscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c
index 983debe071..65b5ca7627 100644
--- a/ext/strscan/strscan.c
+++ b/ext/strscan/strscan.c
@@ -1023,7 +1023,7 @@ name_to_backref_number(struct re_registers *regs, VALUE regexp, const char* name
static VALUE
strscan_aref(VALUE self, VALUE idx)
{
- const char *name, *name_end;
+ const char *name;
struct strscanner *p;
long i;