Skip to content

Commit 7b47e9b

Browse files
jketemaCopilot
andcommitted
Document maybe_unused query improvement
Note that the unused-local and unused-static-variable queries no longer report variables marked with the C++17 maybe_unused attribute. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 24b6e60 commit 7b47e9b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
The `cpp/unused-local-variable` and `cpp/unused-static-variable` queries no longer report variables marked with the C++17 `[[maybe_unused]]` attribute.

0 commit comments

Comments
 (0)