Changeset 983 for trunk/main/xc_utils.c


Ignore:
Timestamp:
2012-07-17T10:54:15+02:00 (2 years ago)
Author:
moo
Message:

kill warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/main/xc_utils.c

    r982 r983  
    137137int xc_undo_pass_two(zend_op_array *op_array TSRMLS_DC) /* {{{ */ 
    138138{ 
    139     zend_op *opline, *end; 
     139    zend_op *opline, *opline_end; 
    140140 
    141141#ifdef ZEND_ENGINE_2_4 
     
    150150 
    151151    opline = op_array->opcodes; 
    152     end = opline + op_array->last; 
    153     while (opline < end) { 
     152    opline_end = opline + op_array->last; 
     153    while (opline < opline_end) { 
    154154#ifdef ZEND_ENGINE_2_4 
    155155        if (opline->op1_type == IS_CONST) { 
     
    198198int xc_redo_pass_two(zend_op_array *op_array TSRMLS_DC) /* {{{ */ 
    199199{ 
    200     zend_op *opline, *end; 
     200    zend_op *opline, *opline_end; 
    201201#ifdef ZEND_ENGINE_2_4 
    202202    zend_literal *literal = op_array->literals; 
     
    219219#ifdef ZEND_ENGINE_2_4 
    220220    if (literal) { 
    221         zend_literal *end = literal + op_array->last_literal; 
    222         while (literal < end) { 
     221        zend_literal *literal_end = literal + op_array->last_literal; 
     222        while (literal < literal_end) { 
    223223            Z_SET_ISREF(literal->constant); 
    224224            Z_SET_REFCOUNT(literal->constant, 2); /* Make sure is_ref won't be reset */ 
     
    229229 
    230230    opline = op_array->opcodes; 
    231     end = opline + op_array->last; 
    232     while (opline < end) { 
     231    opline_end = opline + op_array->last; 
     232    while (opline < opline_end) { 
    233233#ifdef ZEND_ENGINE_2_4 
    234234        if (opline->op1_type == IS_CONST) { 
     
    349349int xc_foreach_early_binding_class(zend_op_array *op_array, void (*callback)(zend_op *opline, int oplineno, void *data TSRMLS_DC), void *data TSRMLS_DC) /* {{{ */ 
    350350{ 
    351     zend_op *opline, *begin, *end, *next = NULL; 
     351    zend_op *opline, *begin, *opline_end, *next = NULL; 
    352352 
    353353    opline = begin = op_array->opcodes; 
    354     end = opline + op_array->last; 
    355     while (opline < end) { 
     354    opline_end = opline + op_array->last; 
     355    while (opline < opline_end) { 
    356356        switch (opline->opcode) { 
    357357#ifdef ZEND_GOTO 
     
    377377 
    378378            case ZEND_RETURN: 
    379                 opline = end; 
     379                opline = opline_end; 
    380380                break; 
    381381 
Note: See TracChangeset for help on using the changeset viewer.