You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 24b6e60
Browse filesBrowse the repository at this point in the historyBrowse files
Exclude variables annotated with the standard maybe_unused attribute from the unused-local and unused-static-variable queries, and update the regression expectations.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: cpp/ql/test/query-tests/Best Practices/Unused Entities/UnusedStaticVariables/UnusedStaticVariables.expected
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,3 @@
2
2
| test.cpp:8:12:8:21 | staticVar6 | Static variable staticVar6 is never read. |
3
3
| test.cpp:10:11:10:19 | constVar8 | Static variable constVar8 is never read. |
4
4
| test.cpp:12:12:12:22 | staticVar10 | Static variable staticVar10 is never read. |
5
-
| test.cpp:13:29:13:39 | staticVar11 | Static variable staticVar11 is never read. |
0 commit comments