[Jifty-commit] r5666 - B-OPCheck

Jifty commits jifty-commit at lists.jifty.org
Mon Aug 4 14:26:31 EDT 2008


Author: nothingmuch
Date: Mon Aug  4 14:26:31 2008
New Revision: 5666

Modified:
   B-OPCheck/OPCheck.xs

Log:
C99 pedancy

Modified: B-OPCheck/OPCheck.xs
==============================================================================
--- B-OPCheck/OPCheck.xs	(original)
+++ B-OPCheck/OPCheck.xs	Mon Aug  4 14:26:31 2008
@@ -110,6 +110,8 @@
      * PL_hints bit (0x100000) is true
      */
     if ((PL_hints & 0x120000) == 0x120000) {
+        AV *subs;
+
         if ( opnum == OP_ENTERSUB ) {
             OP *prev = ((cUNOPo->op_first->op_sibling) ? cUNOPo : ((UNOP*)cUNOPo->op_first))->op_first;
             OP *o2 = prev->op_sibling;
@@ -124,7 +126,7 @@
             }
         }
 
-        AV *subs = OPCHECK_subs[opnum];
+        subs = OPCHECK_subs[opnum];
         if (subs) {
             int i;
             for (i = 0; i <= av_len(subs); ++i) {


More information about the Jifty-commit mailing list