Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/run_texpr.c

    r051bc69a rc5cb943d  
    140140        }
    141141
     142        /* Make compiler happy. */
     143        titem = NULL;
     144
    142145        switch (sym->sc) {
    143146        case sc_csi:
     
    147150                titem->u.tobject = tobject;
    148151
    149                 tobject->static_ref = b_false;
     152                tobject->static_ref = sn_nonstatic;
    150153                tobject->csi = sym->u.csi;
    151154                list_init(&tobject->targs);
     
    278281        (void) tliteral;
    279282
     283        /* Make compiler happy. */
     284        tpc = 0;
     285
    280286        switch (tliteral->tlc) {
    281287        case tlc_bool: tpc = tpc_bool; break;
     
    342348        }
    343349
     350        /* Make compiler happy. */
     351        titem = NULL;
     352
    344353        switch (sym->sc) {
    345354        case sc_csi:
     
    349358                titem->u.tobject = tobject;
    350359
    351                 tobject->static_ref = b_false;
     360                tobject->static_ref = sn_nonstatic;
    352361                tobject->csi = sym->u.csi;
    353362                list_init(&tobject->targs);
     
    429438
    430439        list_node_t *farg_n;
    431         stree_targ_t *farg;
    432440
    433441#ifdef DEBUG_RUN_TRACE
     
    450458        }
    451459
    452         tobject->static_ref = b_false;
     460        tobject->static_ref = sn_nonstatic;
    453461        tobject->csi = base_ti->u.tobject->csi;
    454462        list_init(&tobject->targs);
     
    458466        arg_n = list_first(&tapply->targs);
    459467        while (farg_n != NULL && arg_n != NULL) {
    460                 farg = list_node_data(farg_n, stree_targ_t *);
    461468                arg = list_node_data(arg_n, stree_texpr_t *);
    462469
Note: See TracChangeset for help on using the changeset viewer.