aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5>2003-08-01 17:13:13 +0000
committertradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5>2003-08-01 17:13:13 +0000
commit39d8ed7686f8a8cb524cf98211a800ce6c282437 (patch)
treed4934c29640d6d75bbbf25a9e319fd6320c293c7
parentda478362c77db450164206f55a2d5896d3f89e75 (diff)
Removed unused variable.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@70 1c20744c-e24a-42ec-9533-f5004cb800e5
-rw-r--r--src/InterpGridArrays.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/InterpGridArrays.c b/src/InterpGridArrays.c
index 8abc4bc..e97712d 100644
--- a/src/InterpGridArrays.c
+++ b/src/InterpGridArrays.c
@@ -200,7 +200,6 @@ int PUGHInterp_InterpGridArrays (const cGH *GH,
int j, point, proc, array, offset, type, table_handle;
CCTK_INT error_point_status;
CCTK_INT *per_point_status, *proc_status, *overall_status;
- char *msg;
char **output_arrays_local;
type_desc_t *this, *type_desc;
CCTK_REAL *range_min, *range_max;
@@ -644,7 +643,7 @@ int PUGHInterp_InterpGridArrays (const cGH *GH,
{
if (! suppress_warnings)
{
- msg = malloc (80 + N_dims*20);
+ char *msg = malloc (80 + N_dims*20);
sprintf (msg, "Unable to locate point %d [%f",
point, (double) ((CCTK_REAL *) interp_coords[0])[point]);
for (i = 1; i < N_dims; i++)