diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-26 23:50:59 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-26 23:50:59 +0000 |
commit | b738988168f0f33eb3bfabd27b0f854a14043d16 (patch) | |
tree | 16c8c52b3258b668287fb0dbc3a780f9ba6db2be /src/main/Coord.c | |
parent | c5bca7cdda36fef2ceea06c5f5cb26b403b8fc70 (diff) |
Various things pointed out by running Insure on the code.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1109 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/Coord.c')
-rw-r--r-- | src/main/Coord.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/Coord.c b/src/main/Coord.c index 716d30d8..bc29f0bf 100644 --- a/src/main/Coord.c +++ b/src/main/Coord.c @@ -9,6 +9,8 @@ /*#define DEBUG_COORD*/ +static char *rcsid = "$Header$"; + #include <stdlib.h> #include <stdio.h> @@ -29,7 +31,8 @@ struct Coordprops int direction; }; -typedef struct COORD_RANGE { +typedef struct COORD_RANGE +{ cGH *GH; @@ -396,9 +399,11 @@ int CCTK_CoordRange(cGH *GH, CCTK_REAL *lower, CCTK_REAL *upper, const char *nam printf("Returning range (%f,%f) for %s (from %x)\n",*lower,*upper,name,curr); #endif - return; + return 0; } } + + return -1; } |