Changeset 12389


Ignore:
Timestamp:
06/07/12 14:13:38 (13 years ago)
Author:
Mathieu Morlighem
Message:

Initialized IOMODEL to NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/FemModel.cpp

    r12365 r12389  
    2424
    2525        /*intermediary*/
    26         int i;
    27         int analysis_type;
    28         FILE* IOMODEL;
    29         extern int my_rank;
     26        int         i;
     27        int         analysis_type;
     28        FILE       *IOMODEL = NULL;
     29        extern int  my_rank;
    3030
    3131        /*Open input file on cpu 0: */
    32         if(my_rank==0) IOMODEL= pfopen(inputfilename ,"rb");
     32        if(my_rank==0) IOMODEL = pfopen(inputfilename ,"rb");
    3333
    3434        /*Initialize internal data: */
Note: See TracChangeset for help on using the changeset viewer.