summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 840d9cc7e2..a3a31921ae 100644
--- a/regexec.c
+++ b/regexec.c
@@ -1617,7 +1617,7 @@ regmatch(regnode *prog)
}
if (mg) {
re = (regexp *)mg->mg_obj;
- ReREFCNT_inc(re);
+ (void)ReREFCNT_inc(re);
}
else {
STRLEN len;