aboutsummaryrefslogtreecommitdiff
path: root/src/StepSize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/StepSize.c')
-rw-r--r--src/StepSize.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/StepSize.c b/src/StepSize.c
index 4ea17ff..c32812c 100644
--- a/src/StepSize.c
+++ b/src/StepSize.c
@@ -259,6 +259,9 @@ void MoL_ReduceAdaptiveError(CCTK_ARGUMENTS)
else
{
CCTK_WARN (CCTK_WARN_ABORT, "unsupported ODE_Method in stepsize control");
+ /* Avoid compiler warnings */
+ p1 = 0;
+ p2 = 0;
}
/* Decide whether to accept this step */