Ignore:
Timestamp:
02/23/09 14:59:19 (5 years ago)
Author:
xi
Message:

Fixed non-ANSI initializations (fixes #115).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/branches/stable/src/loader.c

    r243 r346  
    226226        int index, yaml_char_t *anchor) 
    227227{ 
    228     yaml_alias_data_t data = { anchor, index, { 0, 0, 0 } }; 
     228    yaml_alias_data_t data; 
    229229    yaml_alias_data_t *alias_data; 
    230230 
    231231    if (!anchor) return 1; 
    232232 
     233    data.anchor = anchor; 
     234    data.index = index; 
    233235    data.mark = parser->document->nodes.start[index-1].start_mark; 
    234236 
Note: See TracChangeset for help on using the changeset viewer.