diff options
Diffstat (limited to 'universal.c')
-rw-r--r-- | universal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c index 3e52535312..461eedfcb1 100644 --- a/universal.c +++ b/universal.c @@ -50,7 +50,7 @@ S_isa_lookup(pTHX_ HV *stash, const char * const name) /* A stash/class can go by many names (ie. User == main::User), so we compare the stash itself just in case */ - if (name_stash && ((const HV *)stash == name_stash)) + if ((const HV *)stash == name_stash) return TRUE; hvname = HvNAME_get(stash); |