File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
cpp/autosar/src/rules/M0-1-3 Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 80
80
81
81
- name : Checkout external help files
82
82
id : checkout-external-help-files
83
+ # Forks do not have access to an appropriate token for the help files
84
+ if : !github.event.pull_request.head.repo.fork
83
85
uses : actions/checkout@v4
84
86
with :
85
87
ssh-key : ${{ secrets.CODEQL_CODING_STANDARDS_HELP_KEY }}
88
90
path : external-help-files
89
91
90
92
- name : Include external help files
91
- if : steps.checkout-external-help-files.outcome == 'success'
93
+ if : !github.event.pull_request.head.repo.fork && steps.checkout-external-help-files.outcome == 'success'
92
94
run : |
93
95
pushd external-help-files
94
96
find . -name '*.md' -exec rsync -av --relative {} "$GITHUB_WORKSPACE" \;
Original file line number Diff line number Diff line change
1
+ - ` M0-1-3 ` - ` UnusedLocalVariable.ql ` :
2
+ - Improve performance on codebases with a large number of variables with the same name.
Original file line number Diff line number Diff line change 48
48
not exists ( v .getAnAccess ( ) ) and
49
49
// Sometimes multiple objects representing the same entities are created in
50
50
// the AST. Check if those are not accessed as well. Refer issue #658
51
- not exists ( LocalScopeVariable another |
51
+ not exists ( PotentiallyUnusedLocalVariable another |
52
52
another .getDefinitionLocation ( ) = v .getDefinitionLocation ( ) and
53
53
another .hasName ( v .getName ( ) ) and
54
54
exists ( another .getAnAccess ( ) ) and
You can’t perform that action at this time.
0 commit comments