summaryrefslogtreecommitdiff
path: root/src/main/WarnLevel.c
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-12-13 14:31:09 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-12-13 14:31:09 +0000
commit080768e43b0ee6b4a1e4c648f77e2d9c4bf07d46 (patch)
tree40c5dd57a2c0119f5f2c5a4f4d53f3b8595eb385 /src/main/WarnLevel.c
parent5b24979e5268c1d5e92fa97e58612635ea47324a (diff)
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
Diffstat (limited to 'src/main/WarnLevel.c')
-rw-r--r--src/main/WarnLevel.c6
1 files changed, 2 insertions, 4 deletions
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;
}