diff options
-rw-r--r-- | src/InterpGridArrays.c | 3 |
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++) |