aboutsummaryrefslogtreecommitdiff
path: root/src/RecoverGH.c
diff options
context:
space:
mode:
authortradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2000-11-23 23:10:04 +0000
committertradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2000-11-23 23:10:04 +0000
commitd0f4b9d5b116f7a960a1a317a20fd370485ee937 (patch)
tree85384c94af4a9913d54ea924a3450fc6f7da7610 /src/RecoverGH.c
parentf11299667fb86982998d1985ec4860eb4cfaaf3c (diff)
Renamed variables 'index' into 'vindex' to suppress gcc warnings on
hiding a global routine index(3). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@55 0888f3d4-9f52-45d2-93bc-d00801ff5e46
Diffstat (limited to 'src/RecoverGH.c')
-rw-r--r--src/RecoverGH.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/RecoverGH.c b/src/RecoverGH.c
index 9bdcf18..bcc074d 100644
--- a/src/RecoverGH.c
+++ b/src/RecoverGH.c
@@ -29,7 +29,8 @@ static char *rcsid = "$Id$";
CCTK_FILEVERSION(BetaThorns_IOStreamedHDF5_RecoverGH_c)
-/* local function prototypes */
+/* prototypes of routines defined in this source file */
+int IOStreamedHDF5_RecoverParameters (void);
static int IOStreamedHDF5_OpenFile (cGH *GH,
const char *basename,
int called_from,
@@ -292,6 +293,9 @@ static int IOStreamedHDF5_OpenFile (cGH *GH,
#endif
+ /* suppress compiler warnings about unused variables */
+ called_from = called_from;
+
#ifdef CCTK_MPI
/* Get the communicator for broadcasting the info structure */
/* NOTE: When recovering parameters thorn PUGH is not yet initialized