summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index fd2d79af1d..1956d76f75 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2507,7 +2507,7 @@ PP(pp_method)
SV* sv = TOPs;
if (SvROK(sv)) {
- SV* rsv = SvRV(rsv);
+ SV* rsv = SvRV(sv);
if (SvTYPE(rsv) == SVt_PVCV) {
SETs(rsv);
RETURN;