Change 34352 by [EMAIL PROTECTED] on 2008/09/11 21:46:28

        As stash can't be NULL, no need to check name_stash is not NULL before
        comparing the two, as a NULL == NULL comparison can't happen.

Affected files ...

... //depot/perl/universal.c#197 edit

Differences ...

==== //depot/perl/universal.c#197 (text) ====
Index: perl/universal.c
--- perl/universal.c#196~34350~ 2008-09-11 14:27:07.000000000 -0700
+++ perl/universal.c    2008-09-11 14:46:28.000000000 -0700
@@ -50,7 +50,7 @@
 
     /* 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);
End of Patch.

Reply via email to