]> git.vpit.fr Git - perl/modules/Sub-Op.git/commitdiff
Remove unused variables
authorVincent Pit <vince@profvince.com>
Mon, 4 Jan 2010 11:32:34 +0000 (12:32 +0100)
committerVincent Pit <vince@profvince.com>
Mon, 4 Jan 2010 11:32:34 +0000 (12:32 +0100)
Op.xs

diff --git a/Op.xs b/Op.xs
index e76fb9bd5c998bef67d83bcc56d0f6e41fa58077..89716e7602a4ed44c9719441ebd3e2fb3aae26fe 100644 (file)
--- a/Op.xs
+++ b/Op.xs
@@ -201,7 +201,6 @@ STATIC OP *so_ck_entersub(pTHX_ OP *o) {
   gv = cGVOPx_gv(gvop);
 
   {
-   HV *stash = GvSTASH(gv);
    SV *pp_sv, **svp;
    CV *cv = NULL;
    const char *name = GvNAME(gv);
@@ -328,7 +327,7 @@ PREINIT:
  HV  *map;
  CV  *placeholder;
  tTHX owner;
-CODE:
+PPCODE:
  {
   dMY_CXT;
   owner       = MY_CXT.owner;
@@ -341,6 +340,7 @@ CODE:
   MY_CXT.placeholder = placeholder;
   MY_CXT.owner       = aTHX;
  }
+ XSRETURN(0);
 
 #endif /* SO_THREADSAFE */