From 080768e43b0ee6b4a1e4c648f77e2d9c4bf07d46 Mon Sep 17 00:00:00 2001 From: goodale Date: Tue, 13 Dec 2005 14:31:09 +0000 Subject: Removing unused variables as found by David Rideout and Erik Schnetter. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4207 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/main/WarnLevel.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/main') diff --git a/src/main/WarnLevel.c b/src/main/WarnLevel.c index f08a0618..f0476695 100644 --- a/src/main/WarnLevel.c +++ b/src/main/WarnLevel.c @@ -219,7 +219,6 @@ void CCTK_FCALL CCTK_FNAME (CCTK_Info) int CCTK_VInfo (const char *thorn, const char *format, ...) { va_list ap; - int retval = -1; static int info_format_decoded = 0; /* are the following two flags valid? */ /* Boolean flags decoded from cactus::info_format */ static int info_format_numeric = 0; /* print a numeric timestamp? */ @@ -340,7 +339,7 @@ int CCTK_VInfo (const char *thorn, const char *format, ...) fprintf (stdout, "\n"); va_end (ap); - return (0); + return 0; } @@ -467,7 +466,6 @@ int CCTK_VWarn (int level, int param_type; int myproc; va_list ap, aq; - int retval = -1; /* Necessary for wrapping up the final message */ @@ -601,7 +599,7 @@ int CCTK_VWarn (int level, CCTK_Abort (NULL, 0); } - return (0); + return 0; } -- cgit v1.2.3