[cig-commits] commit: Fix a compiler warning
Mercurial
hg at geodynamics.org
Sun Apr 29 05:34:32 PDT 2012
changeset: 828:5aeeebf31f97
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Sun Apr 29 05:34:19 2012 -0700
files: pcu/src/test.cxx
description:
Fix a compiler warning
diff -r d8c948962846 -r 5aeeebf31f97 pcu/src/test.cxx
--- a/pcu/src/test.cxx Sun Apr 29 05:34:01 2012 -0700
+++ b/pcu/src/test.cxx Sun Apr 29 05:34:19 2012 -0700
@@ -109,11 +109,11 @@ void pcu_test_gathersources( pcu_test_t*
int buflen;
pcu_source_t* cur;
void* buf;
- void* ptr;
+ void* ptr(0);
int totalsize;
- void* totalbuf;
- int* alllens;
- int* disps;
+ void* totalbuf(0);
+ int* alllens(0);
+ int* disps(0);
int ii;
MPI_Comm_rank( MPI_COMM_WORLD, &rank );
More information about the CIG-COMMITS
mailing list