From b5bb7474b8746d9e12ee2491cfdfe0f53028bd00 Mon Sep 17 00:00:00 2001 From: eschnett Date: Tue, 20 Aug 2013 19:22:56 +0000 Subject: Remove unused variables git-svn-id: http://svn.cactuscode.org/flesh/trunk@5041 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/main/WarnLevel.c | 10 ++-------- 1 file 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 */ -- cgit v1.2.3