From 0127271e236421acd3cd5f0323d2c8f3f4e8b40f Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 7 Jan 2003 10:31:03 +0000 Subject: Fixed compiler warning for non-MPI configurations. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@41 1c20744c-e24a-42ec-9533-f5004cb800e5 --- src/InterpGridArrays.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/InterpGridArrays.c b/src/InterpGridArrays.c index eb886d1..c11c52b 100644 --- a/src/InterpGridArrays.c +++ b/src/InterpGridArrays.c @@ -185,8 +185,8 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, const pGH *pughGH; const pGExtras *extras; cGroupDynamicData group_data; - pughInterpGH *myGH; #ifdef CCTK_MPI + pughInterpGH *myGH; CCTK_REAL **interp_coords_local; int N_points_local, N_types; int j, point, proc, array, type, offset; @@ -199,8 +199,6 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, #endif - /* get GH extension handles for PUGHInterp and PUGH */ - myGH = CCTK_GHExtension (GH, "PUGHInterp"); pughGH = CCTK_GHExtension (GH, "PUGH"); /* check function arguments */ @@ -436,6 +434,8 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, return (UTIL_ERROR_BAD_INPUT); } + myGH = CCTK_GHExtension (GH, "PUGHInterp"); + /* map the requested points to interpolate at onto the processors they belong to and gather the coordinates of all the points local to this processor -- cgit v1.2.3