[cig-commits] commit: Fix some compiler warnings
Mercurial
hg at geodynamics.org
Wed Nov 9 15:15:06 PST 2011
changeset: 813:637110944ca8
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Wed Nov 09 15:15:00 2011 -0800
files: Discretisation/src/InnerGenerator.cxx
description:
Fix some compiler warnings
diff -r 06ce36227af6 -r 637110944ca8 Discretisation/src/InnerGenerator.cxx
--- a/Discretisation/src/InnerGenerator.cxx Wed Nov 09 00:56:11 2011 -0800
+++ b/Discretisation/src/InnerGenerator.cxx Wed Nov 09 15:15:00 2011 -0800
@@ -184,12 +184,12 @@ void InnerGenerator_BuildTopology( Inner
Mesh* elMesh;
MeshTopology *topo, *elTopo;
unsigned nDims;
- unsigned nIncEls, *incEls;
+ unsigned nIncEls, *incEls(NULL);
unsigned nDomainEls;
Decomp *elDecomp, *nodeDecomp;
Sync *elSync, *nodeSync;
- int nLocals, *locals;
- int nRemotes, *remotes;
+ int nLocals(0), *locals(NULL);
+ int nRemotes(0), *remotes(NULL);
unsigned global;
unsigned e_i;
int l_i, r_i;
More information about the CIG-COMMITS
mailing list