summaryrefslogtreecommitdiff
path: root/universal.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-09-11 22:11:32 +0000
committerNicholas Clark <nick@ccl4.org>2008-09-11 22:11:32 +0000
commitc109477dfda0dedbe3c4ffa3d6074085d3b8497a (patch)
tree8d9bb13973c84d3fab729a3424fd7daa3401b77c /universal.c
parent90903f12d8c8bec5cac10a53dad3999617414aed (diff)
downloadperl-c109477dfda0dedbe3c4ffa3d6074085d3b8497a.tar.gz
Abolish the warning "Can't locate package %"SVf" for the parents of %s"
which doesn't tell you anything you won't discover soon enough when you try to call a method. (Or haven't already been warned about when @ISA was linearised) p4raw-id: //depot/perl@34353
Diffstat (limited to 'universal.c')
-rw-r--r--universal.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/universal.c b/universal.c
index 461eedfcb1..08dad15ab5 100644
--- a/universal.c
+++ b/universal.c
@@ -67,14 +67,6 @@ S_isa_lookup(pTHX_ HV *stash, const char * const name)
while (items--) {
SV* const basename_sv = *svp++;
HV* const basestash = gv_stashsv(basename_sv, 0);
- if (!basestash) {
- /* We have no test coverage for this block, as of 2008/08. */
- if (ckWARN(WARN_SYNTAX))
- Perl_warner(aTHX_ packWARN(WARN_SYNTAX),
- "Can't locate package %"SVf" for the parents of %s",
- SVfARG(basename_sv), hvname);
- continue;
- }
if(name_stash == basestash || strEQ(name, SvPVX(basename_sv)))
return TRUE;
}