Skip to content

Commit

Permalink
fix: mark conditionally used function as maybe_unused
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Jan 31, 2025
1 parent 3b888f3 commit eddedaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit-tests/reporting/StringifyReports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace
inline reporting::control_state_t const commonInapplicableState = reporting::state_inapplicable{13, 1337, 42, {sequence::rating{1}}, {{sequence::Tag{1337}}}};
inline reporting::control_state_t const commonSaturatedState = reporting::state_saturated{42, 42, 42};

[[nodiscard]]
[[nodiscard, maybe_unused]]
Stacktrace make_shallow_stacktrace()
{
Stacktrace stacktrace = stacktrace::current();
Expand Down

0 comments on commit eddedaf

Please sign in to comment.