Changeset 19801


Ignore:
Timestamp:
11/25/15 13:38:27 (9 years ago)
Author:
Eric.Larour
Message:

CHG: bug that was revealed in the javascript build. UNDEF is not a valid value for an integer. Can produce garbage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/ExternalResults/GenericExternalResult.h

    r19709 r19801  
    277277        value = xNew<char>(strlen(in_value)+1);
    278278        xMemCpy<char>(value,in_value,(strlen(in_value)+1));
    279         step  = UNDEF;
     279        //step = UNDEF;  Update: can't define an int as UNDEF, ends up as garbage.
     280        step  = 0; //this result needs to end up in the first step. (used to be UNDEF, which is garbage for an int type)
    280281        time  = UNDEF;
    281282
Note: See TracChangeset for help on using the changeset viewer.