Skip to content

Commit 24f492b

Browse files
jketemaCopilot
andcommitted
Document unused-variable initializer side-effect fix
Add a minor analysis change note for suppressing alerts on variables whose initializers may have side effects. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8a8c4f3 commit 24f492b

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 whose initializers may have side effects.

0 commit comments

Comments
 (0)