[cig-commits] commit: Fix compiler warning
Mercurial
hg at geodynamics.org
Wed Nov 9 15:20:59 PST 2011
changeset: 637:2bdf46821f35
user: Walter Landry <wlandry at caltech.edu>
date: Wed Nov 09 15:20:26 2011 -0800
files: Mesh/src/CartesianGenerator.cxx
description:
Fix compiler warning
diff -r 942c54af9965 -r 2bdf46821f35 Mesh/src/CartesianGenerator.cxx
--- a/Mesh/src/CartesianGenerator.cxx Wed Nov 09 15:20:00 2011 -0800
+++ b/Mesh/src/CartesianGenerator.cxx Wed Nov 09 15:20:26 2011 -0800
@@ -2435,7 +2435,7 @@ void CartesianGenerator_ReadFromASCII( C
int proc_I;
Node_LocalIndex lNode_I = 0;
Node_GlobalIndex gNode_I = 0;
- FILE* inputFile;
+ FILE* inputFile(NULL);
char lineString[MAX_LINE_LENGTH];
int rank, nRanks;
More information about the CIG-COMMITS
mailing list