summaryrefslogtreecommitdiff
path: root/src/main/CommandLine.c
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-11-03 09:23:10 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-11-03 09:23:10 +0000
commitf56ab00e21d175ef62608342f185c5e7977be078 (patch)
tree1bfc0473e7f51b54d1b276af0efb3ebe41238377 /src/main/CommandLine.c
parent52b81606de9ddb65dd608424354a28a856a5daef (diff)
Changing various things pointed to by compiling with -Wall.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1129 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/CommandLine.c')
-rw-r--r--src/main/CommandLine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/CommandLine.c b/src/main/CommandLine.c
index ab048f09..bf93f163 100644
--- a/src/main/CommandLine.c
+++ b/src/main/CommandLine.c
@@ -21,6 +21,7 @@
#include "cctk_Misc.h"
#include "cctk_ActiveThorns.h"
#include "cctk_ParameterFunctions.h"
+#include "cctki_WarnLevel.h"
static char *rcsid = "$Header$";
@@ -57,7 +58,7 @@ void CCTKi_CommandLineTestThornCompiled(const char *optarg)
{
int retval;
- if(retval = CCTK_IsThornCompiled(optarg))
+ if((retval = CCTK_IsThornCompiled(optarg)))
{
printf("Thorn '%s' available.\n", optarg);
}
@@ -133,7 +134,6 @@ void CCTKi_CommandLineDescribeParameter(const char *optarg)
char *thorn;
char *param;
t_param_prop *properties;
- t_range *range;
const char *cthorn;
Util_SplitString(&thorn, &param, optarg, "::");