summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2013-08-20 19:22:56 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2013-08-20 19:22:56 +0000
commitb5bb7474b8746d9e12ee2491cfdfe0f53028bd00 (patch)
tree62574643bee1febcf9b9ede50b2d6a84b3370acc
parent8f15e1b8293e27ce609b6e2350c74d14357ae2a2 (diff)
Remove unused variables
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5041 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--src/main/WarnLevel.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/main/WarnLevel.c b/src/main/WarnLevel.c
index 9a6fa055..4ed1362a 100644
--- a/src/main/WarnLevel.c
+++ b/src/main/WarnLevel.c
@@ -663,8 +663,8 @@ void CCTK_VError (int line,
const char *format,
...)
{
- const CCTK_INT *cctk_full_warnings_ptr, *highlight_warning_messages_ptr;
- CCTK_INT cctk_full_warnings, highlight_warning_messages;
+ const CCTK_INT *highlight_warning_messages_ptr;
+ CCTK_INT highlight_warning_messages;
int param_type;
int myproc;
va_list ap;
@@ -706,12 +706,6 @@ void CCTK_VError (int line,
myproc = CCTK_MyProc(NULL);
Util_GetHostName (hostname, MAXNAMELEN);
- cctk_full_warnings_ptr =
- CCTK_ParameterGet ("cctk_full_warnings", "Cactus", &param_type);
- /* Default to yes */
- cctk_full_warnings =
- cctk_full_warnings_ptr && *cctk_full_warnings_ptr;
-
highlight_warning_messages_ptr =
CCTK_ParameterGet ("highlight_warning_messages", "Cactus", &param_type);
/* Default to no */