Repository navigation
Commit 6e6b94a
Use global initializer in pack regression
Exercise the empty and non-empty pack calls from a global initializer rather than main, and use generic names for the helper and pack.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c33e0fd commit 6e6b94a
2 files changed
Lines changed: 4 additions & 7 deletions
File tree
- cpp/ql/test/query-tests/Best Practices/Unused Entities/UnusedStaticVariables
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 58 | + | |
0 commit comments