]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
No need for maybe_deref anymore
authorVincent Pit <vince@profvince.com>
Sun, 18 Jan 2009 11:24:17 +0000 (12:24 +0100)
committerVincent Pit <vince@profvince.com>
Sun, 18 Jan 2009 11:24:17 +0000 (12:24 +0100)
Upper.xs

index f9fa17b4cec8f9523960d6d7e4abf6964a057384..548064bf4e87774efdfb6662bb72d88f703db0b2 100644 (file)
--- a/Upper.xs
+++ b/Upper.xs
@@ -421,7 +421,6 @@ STATIC void su_localize(pTHX_ void *ud_) {
    break;
   default:
    gv = (GV *) save_scalar(gv);
-maybe_deref:
    if (deref) /* val != NULL */
     val = SvRV(val);
    break;