WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 2ffccb0

Browse files
authored
Fix isExcluded function parameter in query
1 parent 2357494 commit 2ffccb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/autosar/src/rules/M0-1-10/UnusedSplMemberFunction.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import codingstandards.cpp.deadcode.UnusedFunctions
2020

2121
from UnusedFunctions::UnusedSplMemberFunction unusedSplMemFunction, string name
2222
where
23-
not isExcluded(DeadCodePackage::unusedSplMemberFunctionQuery(), DeadCodePackage::unusedFunctionQuery()) and
23+
not isExcluded(unusedSplMemFunction, DeadCodePackage::unusedFunctionQuery()) and
2424
(
2525
if exists(unusedSplMemFunction.getQualifiedName())
2626
then name = unusedSplMemFunction.getQualifiedName()

0 commit comments

Comments
 (0)