diff options
author | allen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-04-19 22:31:14 +0000 |
---|---|---|
committer | allen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-04-19 22:31:14 +0000 |
commit | 587cddbd2b7a35b428e8e68cdf0e71878ee9413f (patch) | |
tree | 9523282d2e231eb5df311010866770606c399eb5 /src | |
parent | 1330b0998a43c3b4b033c9f44511f9336d333ca9 (diff) |
Removing warnings
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@111 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src')
-rw-r--r-- | src/RecoverGH.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/RecoverGH.c b/src/RecoverGH.c index fca11cf..664b46f 100644 --- a/src/RecoverGH.c +++ b/src/RecoverGH.c @@ -275,6 +275,7 @@ static int IOFlexIOi_OpenFile (cGH *GH, const char *basename, int called_from, fileinfo_t *file) { DECLARE_CCTK_PARAMETERS + int retval; int index; int nprocs, myproc; Long nels_stored; @@ -465,7 +466,8 @@ static int IOFlexIOi_OpenFile (cGH *GH, const char *basename, int called_from, } /* Return 0 for success otherwise negative */ - return (file->is_IEEEIO_file ? 0 : -1); + retval = (file->is_IEEEIO_file ? 0 : -1); + return (retval); } @@ -545,6 +547,7 @@ static int IOFlexIOi_RecoverGHextensions (cGH *GH, fileinfo_t *file) static int IOFlexIOi_RecoverParameters (fileinfo_t *file) { DECLARE_CCTK_PARAMETERS + int retval; int index, atype; Long asize; char *parameters; @@ -597,7 +600,8 @@ static int IOFlexIOi_RecoverParameters (fileinfo_t *file) } /* Return positive value for success otherwise negative */ - return (parameterSize > 0 ? 1 : -1); + retval = (parameterSize > 0 ? 1 : -1); + return retval; } |