Changeset 476


Ignore:
Timestamp:
05/18/09 12:30:43 (16 years ago)
Author:
Mathieu Morlighem
Message:

Initialize pointers as NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/io/SerialFetchData.cpp

    r465 r476  
    2727        int      outdataset_size;
    2828
    29         double*  outmatrix;
    30         Mat      outpetscmatrix;
     29        double*  outmatrix=NULL;
     30        Mat      outpetscmatrix=NULL;
    3131        double*  outmatrix_workspace=NULL;;
    3232        int      outmatrix_rows,outmatrix_cols;
    3333        int      petsc;
    3434
    35         double*  outvector;
    36         Vec      outpetscvector;
     35        double*  outvector=NULL;
     36        Vec      outpetscvector=NULL;
    3737        double*  outvector_workspace=NULL;
    3838        int      outvector_rows;
Note: See TracChangeset for help on using the changeset viewer.