diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-03-06 22:40:17 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-03-06 22:40:17 +0000 |
commit | da7d5705d1182caa9c865a0d20bccc6a723d0d8d (patch) | |
tree | b93bdded85e6e0d1a021b3a232fdb34e41cf0c4c /src/util/Misc.c | |
parent | 1a8dbaee5f1a9e40180215f3af984a3cef40a05d (diff) |
A little bit of tidying.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1421 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util/Misc.c')
-rw-r--r-- | src/util/Misc.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/util/Misc.c b/src/util/Misc.c index eee180f9..948ffae8 100644 --- a/src/util/Misc.c +++ b/src/util/Misc.c @@ -75,6 +75,10 @@ int Util_SplitString(char **before, char **after, const char *string, const char *after = NULL; retval = 2; } + else + { + retval = 3; + } } else { @@ -404,7 +408,10 @@ int Util_DoubleInRange(double inval, const char *range) int matched; regmatch_t pmatch[6]; int start_closed, end_closed; - double start, end, step; + double start, end; +#if 0 + double step; +#endif retval = 0; @@ -746,8 +753,6 @@ int CCTK_SetKeywordInRangeList(char **data, const char *value, char *element; - int inval; - retval = 1; /* Walk through the element list. */ @@ -804,8 +809,6 @@ int CCTK_SetStringInRegexList(char **data, const char *value, char *element; - int inval; - retval = 1; /* Walk through the element list. */ |