diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-05 09:01:57 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-05 09:01:57 +0000 |
commit | 27101c7b64409abfa493e64bed5de72ac84bb1ce (patch) | |
tree | 4bfaf0a5b0fcc4d7119325d665f06165380c72b5 /src/main/SetParams.c | |
parent | 287abd55c7e41b10718810c7dec8b3bf939d8cf6 (diff) |
Latest changes for the ActiveThorns.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@649 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/SetParams.c')
-rw-r--r-- | src/main/SetParams.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/SetParams.c b/src/main/SetParams.c index 4cf65490..34887124 100644 --- a/src/main/SetParams.c +++ b/src/main/SetParams.c @@ -9,6 +9,10 @@ #include <stdio.h> +#include "cctk.h" + +#include "WarnLevel.h" + static char *rcsid = "$Id$"; /*@@ @@ -52,6 +56,11 @@ int CCTK_SetParameter(const char *parameter, const char *value) n_errors += CCTK_ActivateThorn(thornname) != 0; if(*position) position++; } + + if(n_errors) + { + CCTK_WARN(0, "Errors while activating thorns\n"); + } } else { |