From b7539920894fff902a8cbb01191b9727bc8cf34d Mon Sep 17 00:00:00 2001 From: Cody Balos Date: Fri, 3 Jan 2025 20:45:09 -0800 Subject: [PATCH] add maybe_unused --- src/sunadjoint/sunadjoint_checkpointscheme_fixed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunadjoint/sunadjoint_checkpointscheme_fixed.c b/src/sunadjoint/sunadjoint_checkpointscheme_fixed.c index 1300305b91..6255f4cc2e 100644 --- a/src/sunadjoint/sunadjoint_checkpointscheme_fixed.c +++ b/src/sunadjoint/sunadjoint_checkpointscheme_fixed.c @@ -102,7 +102,7 @@ SUNErrCode SUNAdjointCheckpointScheme_ShouldWeSave_Fixed( } SUNErrCode SUNAdjointCheckpointScheme_InsertVector_Fixed( - SUNAdjointCheckpointScheme self, int64_t step_num, int64_t stage_num, + SUNAdjointCheckpointScheme self, int64_t step_num, SUNDIALS_MAYBE_UNUSED int64_t stage_num, sunrealtype t, N_Vector state) { SUNFunctionBegin(self->sunctx);