aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index d7766905bb..63cfc026de 100644
--- a/re.c
+++ b/re.c
@@ -3519,7 +3519,7 @@ rb_reg_quote(VALUE str)
t = RSTRING_PTR(tmp);
/* copy upto metacharacter */
const char *p;
- long n;
+ long MAYBE_UNUSED(n);
RSTRING_GETMEM(str, p, n);
memcpy(t, p, s - p);
t += s - p;