diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2013-08-20 19:22:56 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2013-08-20 19:22:56 +0000 |
commit | b5bb7474b8746d9e12ee2491cfdfe0f53028bd00 (patch) | |
tree | 62574643bee1febcf9b9ede50b2d6a84b3370acc /src | |
parent | 8f15e1b8293e27ce609b6e2350c74d14357ae2a2 (diff) |
Remove unused variables
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5041 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r-- | src/main/WarnLevel.c | 10 |
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", ¶m_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", ¶m_type); /* Default to no */ |