Skip to content

Commit

Permalink
add maybe_unused
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 authored Jan 4, 2025
1 parent 756f4d2 commit b753992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sunadjoint/sunadjoint_checkpointscheme_fixed.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b753992

Please sign in to comment.