summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-05-25 19:16:50 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-05-25 19:16:50 +0000
commit289b91d970fd5a619e7bd0d7b9887ad21830c72b (patch)
tree38b40f83c6cbc02af2201a53c778ca6a1906da1e /sv.c
parent2ddf2931629172758edefb4e67ffcf45a59200b6 (diff)
downloadperl-289b91d970fd5a619e7bd0d7b9887ad21830c72b.tar.gz
fix coredump in S_varname (tickled by Devel::Profile)
a 'Use of uninitialized value' warning within a DB sub attempted to use the pad of the caller to locate the offending lexical p4raw-id: //depot/perl@31278
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 0cd9ca84e8..c2c7f4d97e 100644
--- a/sv.c
+++ b/sv.c
@@ -11778,8 +11778,7 @@ S_varname(pTHX_ GV *gv, const char gvtype, PADOFFSET targ,
}
}
else {
- U32 unused;
- CV * const cv = find_runcv(&unused);
+ CV * const cv = find_runcv(NULL);
SV *sv;
AV *av;