diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-05-25 19:16:50 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-05-25 19:16:50 +0000 |
commit | 289b91d970fd5a619e7bd0d7b9887ad21830c72b (patch) | |
tree | 38b40f83c6cbc02af2201a53c778ca6a1906da1e /sv.c | |
parent | 2ddf2931629172758edefb4e67ffcf45a59200b6 (diff) | |
download | perl-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |