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 479ad1f560..95bba2e270 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3746,7 +3746,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog)
if (mg) {
rx = mg->mg_obj; /*XXX:dmq*/
- assert(re);
+ assert(rx);
}
if (rx) {
rx = reg_temp_copy(rx);