diff options
author | eschnett <eschnett@d60812e6-3970-4df4-986e-c251b06effeb> | 2012-05-11 16:50:05 +0000 |
---|---|---|
committer | eschnett <eschnett@d60812e6-3970-4df4-986e-c251b06effeb> | 2012-05-11 16:50:05 +0000 |
commit | 58e21088bc6d95160321847d7cc1d8339be1289e (patch) | |
tree | 3e07ae1500d285660141ff81da74d20b6351f275 /src/ReduceArraysGlobally.c | |
parent | 83d552033ae8c1b7efbae266c6118610421ae2c8 (diff) |
Remove unused variables
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@98 d60812e6-3970-4df4-986e-c251b06effeb
Diffstat (limited to 'src/ReduceArraysGlobally.c')
-rw-r--r-- | src/ReduceArraysGlobally.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ReduceArraysGlobally.c b/src/ReduceArraysGlobally.c index 5c2edc8..cc33b54 100644 --- a/src/ReduceArraysGlobally.c +++ b/src/ReduceArraysGlobally.c @@ -165,8 +165,6 @@ static int ReduceArraysGlobally (const cGH *GH, int perform_3_root = 1; int perform_4_root = 1; int perform_all_reduce = 1; - pGA *GA; - const void *data; int created_local_par_table = 0; /* weight variables */ @@ -195,11 +193,10 @@ static int ReduceArraysGlobally (const cGH *GH, #endif #ifdef CCTK_MPI - int nprocs = 0, myproc =0, global_operation = 0; + int nprocs = 0, global_operation = 0; const pGH *pughGH = NULL; void *local_outvals = NULL; nprocs = CCTK_nProcs(GH); - myproc = CCTK_MyProc(GH); if (dest_proc >=0 && dest_proc <=nprocs) { perform_all_reduce = 0; |