]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
Remove unused variables
authorVincent Pit <vince@profvince.com>
Thu, 26 Nov 2009 20:53:13 +0000 (21:53 +0100)
committerVincent Pit <vince@profvince.com>
Thu, 26 Nov 2009 20:53:13 +0000 (21:53 +0100)
Magic.xs

index 1920c7880c80540256905bd955aab2381969ba9b..5a46c641761e3b63afc1c369b3b91ade09b0502e 100644 (file)
--- a/Magic.xs
+++ b/Magic.xs
@@ -1297,7 +1297,7 @@ PREINIT:
  int    *level;
  U32     had_b__op_stash = 0;
  opclass c;
-CODE:
+PPCODE:
  {
   my_cxt_t ud;
   dMY_CXT;
@@ -1320,6 +1320,7 @@ CODE:
                               ? gv_stashpv(vmg_opclassnames[c], 1) : NULL;
   }
  }
+ XSRETURN(0);
 
 #endif /* VMG_THREADSAFE */
 
@@ -1327,11 +1328,8 @@ SV *_wizard(...)
 PROTOTYPE: DISABLE
 PREINIT:
  I32 i = 0;
- char buf[8];
  MGWIZ *w;
  MGVTBL *t;
- MAGIC *mg;
- SV *wiz;
  SV *cb;
 CODE:
  dMY_CXT;
@@ -1437,8 +1435,6 @@ PPCODE:
 
 SV *dispell(SV *sv, SV *wiz)
 PROTOTYPE: \[$@%&*]$
-PREINIT:
- U16 sig;
 CODE:
  wiz = vmg_wizard_validate(wiz);
  RETVAL = newSVuv(vmg_dispell(SvRV(sv), wiz));