summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-04-23 20:43:02 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-04-23 20:43:02 +0000
commit29489e7c741791873ea464cb7e13d2b5a19577a7 (patch)
tree416b7c61173edafe7ef2746b86383c7663652cdc /mg.c
parente22ea7cc8db19b7765901c13e81b890baf3405da (diff)
downloadperl-29489e7c741791873ea464cb7e13d2b5a19577a7.tar.gz
Include variable names in "Use of uninitialized value" warnings
p4raw-id: //depot/perl@22741
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mg.c b/mg.c
index d86e22d7dd..d162cd31ff 100644
--- a/mg.c
+++ b/mg.c
@@ -491,12 +491,12 @@ Perl_magic_len(pTHX_ SV *sv, MAGIC *mg)
}
else {
if (ckWARN(WARN_UNINITIALIZED))
- report_uninit();
+ report_uninit(sv);
}
}
else {
if (ckWARN(WARN_UNINITIALIZED))
- report_uninit();
+ report_uninit(sv);
}
return 0;
case '+':