Changeset 1355 in svn


Ignore:
Timestamp:
2013-08-26T18:47:38+02:00 (22 months ago)
Author:
Xuefer
Message:

merge [1249] from trunk: remove unused code, avoid warning

Location:
branches/3.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0

    • Property svn:mergeinfo changed
      /trunkmerged: 1249
  • branches/3.0/mod_optimizer/xc_optimizer.c

    r1347 r1355  
    6868        zend_brk_cont_element *jmp_to;
    6969        zend_bool can_convert = 1;
    70         int array_offset, nest_levels, original_nest_levels;
     70        int array_offset, nest_levels;
    7171
    7272        switch (opline->opcode) {
     
    9090
    9191        nest_levels = Z_OP_CONSTANT(opline->op2).value.lval;
    92         original_nest_levels = nest_levels;
    9392
    9493        array_offset = Z_OP(opline->op1).opline_num;
    9594        do {
    9695            if (array_offset == -1) {
    97                 /* this is a runtime error in ZE
    98                 zend_error(E_ERROR, "Cannot break/continue %d level%s", original_nest_levels, (original_nest_levels == 1) ? "" : "s");
    99                 */
    10096                return FAILURE;
    10197            }
Note: See TracChangeset for help on using the changeset viewer.